summaryrefslogtreecommitdiffstats
path: root/test/recipes/80-test_pkcs12_data/bad1.p12
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2024-01-19 14:32:18 +0000
committerMatt Caswell <matt@openssl.org>2024-01-25 15:30:12 +0000
commit3daedcfefdabe0fb9de3aee850ac2cca2d5fa945 (patch)
treeb1d13480422ea2a9dfddd7d13223690ad151eae9 /test/recipes/80-test_pkcs12_data/bad1.p12
parent775acfdbd0c6af9ac855f34969cdab0c0c90844a (diff)
Add some tests for various PKCS12 files with NULL ContentInfo
PKCS7 ContentInfo fields held within a PKCS12 file can be NULL, even if the type has been set to a valid value. CVE-2024-0727 is a result of OpenSSL attempting to dereference the NULL pointer as a result of this. We add test for various instances of this problem. Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Hugo Landau <hlandau@openssl.org> Reviewed-by: Neil Horman <nhorman@openssl.org> (Merged from https://github.com/openssl/openssl/pull/23361) (cherry picked from commit 8a85df7c60ba1372ee98acc5982e902d75f52130)
Diffstat (limited to 'test/recipes/80-test_pkcs12_data/bad1.p12')
-rw-r--r--test/recipes/80-test_pkcs12_data/bad1.p12bin0 -> 85 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/test/recipes/80-test_pkcs12_data/bad1.p12 b/test/recipes/80-test_pkcs12_data/bad1.p12
new file mode 100644
index 0000000000..8f3387c7e3
--- /dev/null
+++ b/test/recipes/80-test_pkcs12_data/bad1.p12
Binary files differ