Ubuntu CVE Tracker
UBUNTU-CVE-2024-0727
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | openssl | All versions before 1.0.1f-1ubuntu2.27+esm10 (fixed in 1.0.1f-1ubuntu2.27+esm10) |
| Ubuntu:Pro:16.04:LTS | openssl | All versions before 1.0.2g-1ubuntu4.20+esm11 (fixed in 1.0.2g-1ubuntu4.20+esm11) |
| Ubuntu:Pro:16.04:LTS | edk2 | All versions, no fix listed |
| Ubuntu:Pro:FIPS-updates:16.04:LTS | openssl | All versions before 1.0.2g-1ubuntu4.fips.4.20.11 (fixed in 1.0.2g-1ubuntu4.fips.4.20.11) |
| Ubuntu:Pro:FIPS:16.04:LTS | openssl | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | openssl | All versions before 1.1.1-1ubuntu2.1~18.04.23+esm4 (fixed in 1.1.1-1ubuntu2.1~18.04.23+esm4) |
| Ubuntu:Pro:18.04:LTS | openssl1.0 | All versions before 1.0.2n-1ubuntu5.13+esm1 (fixed in 1.0.2n-1ubuntu5.13+esm1) |
| Ubuntu:Pro:18.04:LTS | edk2 | All versions, no fix listed |
| Ubuntu:Pro:FIPS-updates:18.04:LTS | openssl | All versions before 1.1.1-1ubuntu2.fips.2.1~18.04.23.4 (fixed in 1.1.1-1ubuntu2.fips.2.1~18.04.23.4) |
| Ubuntu:Pro:FIPS:18.04:LTS | openssl | All versions, no fix listed |
| Ubuntu:20.04:LTS | openssl | All versions before 1.1.1f-1ubuntu2.21 (fixed in 1.1.1f-1ubuntu2.21) |
| Ubuntu:Pro:20.04:LTS | edk2 | All versions, no fix listed |
| Ubuntu:Pro:FIPS-updates:20.04:LTS | openssl | All versions before 1.1.1f-1ubuntu2.fips.20 (fixed in 1.1.1f-1ubuntu2.fips.20) |
| Ubuntu:Pro:FIPS:20.04:LTS | openssl | All versions, no fix listed |
| Ubuntu:22.04:LTS | edk2 | All versions before 2022.02-3ubuntu0.22.04.4 (fixed in 2022.02-3ubuntu0.22.04.4) |
| Ubuntu:22.04:LTS | openssl | All versions before 3.0.2-0ubuntu1.14 (fixed in 3.0.2-0ubuntu1.14) |
| Ubuntu:Pro:22.04:LTS | nodejs | All versions, no fix listed |
| Ubuntu:Pro:FIPS-preview:22.04:LTS | openssl | All versions, no fix listed |
| Ubuntu:Pro:FIPS-updates:22.04:LTS | openssl | All versions before 3.0.2-0ubuntu1.14+Fips1 (fixed in 3.0.2-0ubuntu1.14+Fips1) |
| Ubuntu:24.04:LTS | edk2 | All versions before 2024.02-2ubuntu0.6 (fixed in 2024.02-2ubuntu0.6) |
| Ubuntu:24.04:LTS | openssl | All versions before 3.0.10-1ubuntu4 (fixed in 3.0.10-1ubuntu4) |
References
- https://ubuntu.com/security/CVE-2024-0727
- https://www.openssl.org/news/secadv/20240125.txt
- https://ubuntu.com/security/notices/USN-6622-1
- https://ubuntu.com/security/notices/USN-6632-1
- https://ubuntu.com/security/notices/USN-6709-1
- https://www.cve.org/CVERecord?id=CVE-2024-0727
- https://ubuntu.com/security/notices/USN-7018-1
- https://ubuntu.com/security/notices/USN-7894-1