FlawAtlas
Search the atlas
UBUNTU-CVE-2024-0727 Moderate

UBUNTU-CVE-2024-0727

Issue summary: Processing a maliciously formatted PKCS12 file may lead OpenSSL to crash leading to a potential Denial of Service attack Impact summary: Applications loading files in the PKCS12 format from untrusted sources might terminate abruptly. A file in PKCS12 format can contain certificates and keys and may come from an untrusted source. The PKCS12 specification allows certain fields to be NULL, but OpenSSL does not correctly check for this case. This can lead to a NULL pointer dereference that results in OpenSSL crashing. If an application processes PKCS12 files from an untrusted source using the OpenSSL APIs then that application will be vulnerable to this issue. OpenSSL APIs that are vulnerable to this are: PKCS12_parse(), PKCS12_unpack_p7data(), PKCS12_unpack_p7encdata(), PKCS12_unpack_authsafes() and PKCS12_newpass(). We have also fixed a similar issue in SMIME_write_PKCS7(). However since this function is related to writing data we do not consider it security significant. The FIPS modules in 3.2, 3.1 and 3.0 are not affected by this issue.

Exploit probability Not scored
Published January 26, 2024
Required by Not available
Last source change April 22, 2026

02 / AFFECTED SOFTWARE

Affected packages

Ubuntu:20.04:LTS edk2

15 explicit affected versions

Ubuntu:20.04:LTS openssl

22 explicit affected versions

Ubuntu:22.04:LTS edk2

13 explicit affected versions

Ubuntu:22.04:LTS openssl

15 explicit affected versions

Ubuntu:24.04:LTS edk2

13 explicit affected versions

Ubuntu:24.04:LTS openssl

3 explicit affected versions

Ubuntu:Pro:14.04:LTS openssl

37 explicit affected versions

Ubuntu:Pro:16.04:LTS edk2

7 explicit affected versions

Ubuntu:Pro:16.04:LTS openssl

34 explicit affected versions

Ubuntu:Pro:18.04:LTS edk2

12 explicit affected versions

Ubuntu:Pro:18.04:LTS openssl

30 explicit affected versions

Ubuntu:Pro:18.04:LTS openssl1.0

17 explicit affected versions

Ubuntu:Pro:22.04:LTS nodejs

12 explicit affected versions

Ubuntu:Pro:FIPS-preview:22.04:LTS openssl

2 explicit affected versions

Ubuntu:Pro:FIPS-updates:18.04:LTS openssl

16 explicit affected versions

Ubuntu:Pro:FIPS-updates:20.04:LTS openssl

9 explicit affected versions

Ubuntu:Pro:FIPS-updates:22.04:LTS openssl

2 explicit affected versions

Ubuntu:Pro:FIPS:16.04:LTS openssl

14 explicit affected versions

Ubuntu:Pro:FIPS:16.04:LTS openssl

7 explicit affected versions

Ubuntu:Pro:FIPS:18.04:LTS openssl

2 explicit affected versions

Ubuntu:Pro:FIPS:20.04:LTS openssl

2 explicit affected versions

03 / CONNECTIONS

Connected vulnerabilities

04 / EVIDENCE

Source records

Open Source Vulnerabilities UBUNTU-CVE-2024-0727

Issue summary: Processing a maliciously formatted PKCS12 file may lead OpenSSL to crash leading to a potential Denial of Service attack Impact summary: Applications loading files in the PKCS12 format from untrusted sources might terminate abruptly. A file in PKCS12 format can contain certificates and keys and may come from an untrusted source. The PKCS12 specification allows certain fields to be NULL, but OpenSSL does not correctly check for this case. This can lead to a NULL pointer dereference that results in OpenSSL crashing. If an application processes PKCS12 files from an untrusted source using the OpenSSL APIs then that application will be vulnerable to this issue. OpenSSL APIs that are vulnerable to this are: PKCS12_parse(), PKCS12_unpack_p7data(), PKCS12_unpack_p7encdata(), PKCS12_unpack_authsafes() and PKCS12_newpass(). We have also fixed a similar issue in SMIME_write_PKCS7(). However since this function is related to writing data we do not consider it security significant. The FIPS modules in 3.2, 3.1 and 3.0 are not affected by this issue.

View original source

05 / REFERENCES

Further evidence