openssl/crypto/pkcs7
Emilia Kasper c225c3cf9b PKCS#7: avoid NULL pointer dereferences with missing content
In PKCS#7, the ASN.1 content component is optional.
This typically applies to inner content (detached signatures),
however we must also handle unexpected missing outer content
correctly.

This patch only addresses functions reachable from parsing,
decryption and verification, and functions otherwise associated
with reading potentially untrusted data.

Correcting all low-level API calls requires further work.

CVE-2015-0289

Thanks to Michal Zalewski (Google) for reporting this issue.

Reviewed-by: Steve Henson <steve@openssl.org>
2015-03-19 13:01:13 +00:00
..
bio_pk7.c ifdef cleanup part 3: OPENSSL_SYSNAME 2015-01-23 11:58:26 -05:00
Makefile Remove fipscanister build functionality from makefiles. 2014-12-08 13:23:45 +00:00
pk7_asn1.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
pk7_attr.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
pk7_dgst.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
pk7_doit.c PKCS#7: avoid NULL pointer dereferences with missing content 2015-03-19 13:01:13 +00:00
pk7_enc.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
pk7_lib.c PKCS#7: avoid NULL pointer dereferences with missing content 2015-03-19 13:01:13 +00:00
pk7_mime.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
pk7_smime.c Dead code removal: #if 0 asn1, pkcs7 2015-01-30 15:35:49 -05:00
pkcs7.h Remove obsolete declarations. 2015-03-12 14:12:17 +00:00
pkcs7err.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00