summaryrefslogtreecommitdiffstats
path: root/certs
diff options
context:
space:
mode:
authorEmilia Kasper <emilia@openssl.org>2015-02-27 16:52:23 +0100
committerMatt Caswell <matt@openssl.org>2015-03-19 13:00:45 +0000
commit544e3e3b69d080ee87721bd03c37b4d450384fb9 (patch)
tree92d90bd18fec83bf522b5c0e82a39ebc4cfc8d23 /certs
parent497d0b00dca876beb6c81f2ea6d7160897434c2e (diff)
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> Conflicts: crypto/pkcs7/pk7_doit.c
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions