CVE-2024-0727
openssl: denial of service via null dereference
Overview
Description
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.
Source: OX vulnerability database
Severity
5.5 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness: CWE-476
Affected packages · 5
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Julia | Openresty_jll | <1.27.1+0 | 1.27.1+0 |
| Julia | OpenSSL_jll | <3.0.13+0 | 3.0.13+0 |
| PyPI | cryptography | <42.0.2 | 42.0.2 |
| Seal PyPI | cryptography | >=2.9.2+sp0, <2.9.2+sp999>=3.4+sp0, <3.4+sp999>=35.0.0+sp0, <35.0.0+sp999 | 2.9.2+sp9993.4+sp99935.0.0+sp999 |
| Seal PyPI | seal-cryptography | >=2.9.2+sp1, <2.9.2+sp999>=3.4+sp1, <3.4+sp999>=35.0.0+sp1, <35.0.0+sp999 | 2.9.2+sp9993.4+sp99935.0.0+sp999 |
Open a package to see all its vulnerabilities.
Operating systems · 97 fixes
Azure Linux 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | openssl | 0:1.1.1k-29.azl3 |
| 3.0 | nodejs | 0:16.20.2-2.azl3 |
| 3.0 | kata-containers | 0:3.2.0.azl1-1.azl3 |
| 3.0 | cloud-hypervisor-cvm | 0:38.0.72.2-1.azl3 |
Oracle Linux 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 9 | openssl +3 | 1:3.0.7-27.0.3.el9 |
| 9 | edk2-aarch64 +3 | 20240524-6.0.1.el9_5 |
| 9 | openssl-fips-provider | 3.0.7-2.0.1.el9 |
Photon OS 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | openssl +4 | 3.0.9-9.ph4 |
| 5.0 | openssl +5 | 3.5.7-2.ph5 |
| 5.0 | python3-cryptography | 50.0.1-2.ph5 |
Red Hat 3 releases · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | openssl +4 | eol | — |
| 8 | compat-openssl10 +8 | wont fix | — |
| 9 | compat-openssl11 | affected | — |
| 9 | edk2-aarch64 +3 | 0:20240524-6.el9_5 | RHSA-2024:9088 |
| 9 | openssl +3 | 1:3.0.7-27.el9 | RHSA-2024:2447 |
SUSE Linux Enterprise 3 releases · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | libopenssl0-9-8 | 0.9.8j-106.64.1 | SUSE-SU-2024:0840-1 |
| 12.5 | libopenssl-1-0-0-devel +7 | 1.0.2p-3.90.1 | SUSE-SU-2024:0814-1 |
| 12.5 | libopenssl-1-1-devel +6 | 1.1.1d-2.104.1 | SUSE-SU-2024:0813-1 |
| 15.4 | libopenssl-1-0-0-devel +4 | 1.0.2p-150000.3.91.1 | SUSE-SU-2024:0831-1 |
| 15.4 | libopenssl-1-1-devel +6 | 1.1.1l-150400.7.63.1 | SUSE-SU-2024:0833-1 |
| 15.4 | libopenssl-3-devel +2 | 3.0.8-150400.4.49.1 | SUSE-SU-2024:0518-1 |
3 more rows
SUSE Linux Enterprise Micro 5 releases · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.1 | libopenssl-1-1-devel +3 | 1.1.1d-150200.11.85.1 | SUSE-SU-2024:0832-1 |
| 5.2 | libopenssl-1-1-devel +3 | 1.1.1d-150200.11.85.1 | SUSE-SU-2024:0832-1 |
| 5.3 | libopenssl-1-1-devel +3 | 1.1.1l-150400.7.63.1 | SUSE-SU-2024:0833-1 |
| 5.3 | libopenssl3 | 3.0.8-150400.4.49.1 | SUSE-SU-2024:0518-1 |
| 5.4 | libopenssl-1-1-devel +3 | 1.1.1l-150400.7.63.1 | SUSE-SU-2024:0833-1 |
| 5.4 | libopenssl3 | 3.0.8-150400.4.49.1 | SUSE-SU-2024:0518-1 |
1 more row
alma 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 9 | openssl +3 | 1:3.0.7-27.el9 |
| 9 | edk2-aarch64 +3 | 20240524-6.el9_5 |
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | openssl | 3.1.4-r5 |
| 3.23 | openssl | 3.1.4-r5 |
| 3.24 | openssl | 3.1.4-r5 |
| edge | openssl | 3.1.4-r5 |
amazon linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 2023 | openssl +8 | 1:3.0.8-1.amzn2023.0.11 |
chainguard 1 release · 8 packages
| Release | Package | Fixed in |
|---|---|---|
| openssl-provider-fips +1 | not affected | |
| py3-cassandra-medusa | 0.17.2-r1 | |
| ggshield | 1.25.0-r0 | |
| mitmproxy | 12.2.1-r0 | |
| kubeflow-pipelines | 2.0.5-r3 | |
| airflow | 2.10.5-r44 |
2 more rows
debian 5 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 10 | openssl | affected |
| 11 | openssl | 1.1.1w-0+deb11u2 |
| 12 | openssl | 3.0.13-1~deb12u1 |
| 13 | openssl | 3.1.5-1 |
| 14 | openssl | 3.1.5-1 |
echo 1 release · 6 packages
| Release | Package | Fixed in |
|---|---|---|
| openssl-1-1-1c | 1.1.1c+e1 | |
| openssl-1-1-1g | 1.1.1g+e1 | |
| openssl-1-1-1k | 1.1.1k+e1 | |
| openssl | 3.0.13-1~deb12u1 | |
| openssl-3-0-9 | 3.0.9+e1 | |
| openssl-3-1-0 | 3.1.0+e1 |
openSUSE 1 release · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | boringssl-devel +2 | 0.20260813-1.1 | openSUSE-SU-2026:11592-1 |
| Tumbleweed | libopenssl-1-0-0-devel +9 | 1.0.2u-24.1 | openSUSE-SU-2024:13656-1 |
| Tumbleweed | libopenssl-1-1-devel +5 | 1.1.1w-7.1 | openSUSE-SU-2024:13662-1 |
| Tumbleweed | libopenssl-3-devel +7 | 3.1.4-4.1 | openSUSE-SU-2024:13663-1 |
openSUSE Leap Micro 2 releases · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.3 | libopenssl-1-1-devel +3 | 1.1.1l-150400.7.63.1 | SUSE-SU-2024:0833-1 |
| 5.3 | libopenssl3 | 3.0.8-150400.4.49.1 | SUSE-SU-2024:0518-1 |
| 5.4 | libopenssl-1-1-devel +3 | 1.1.1l-150400.7.63.1 | SUSE-SU-2024:0833-1 |
| 5.4 | libopenssl3 | 3.0.8-150400.4.49.1 | SUSE-SU-2024:0518-1 |
rocky 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 9 | edk2-aarch64 +1 | 20240524-6.el9_5.3 |
root.io alpine 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.23 | rootio-openssl | 3.1.4-r5 |
root.io debian 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | rootio-openssl | 1.1.1w-0+deb11u2 |
| 12 | rootio-openssl | 3.0.13-1~deb12u1 |
seal Red Hat 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | openssl +1 | 1:1.0.2k-25.el7_9+sp999 |
| 7 | openssl +1 | 1:1.0.2k-26.el7_9+sp2 |
| 8 | openssl +1 | 1:1.1.1k-14.el8_6+sp999 |
| 8 | openssl +1 | 1:1.1.1k-6.el8_5+sp999 |
| 9 | openssl +1 | 1:3.2.2-6.el9_5+sp999 |
seal alpine 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| openssl | 1.1.1t-r003 | |
| seal-openssl | 1.1.1t-r353412 |
seal debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| openssl +1 | 1.1.1w-0+deb11u2+sp999 | |
| openssl +1 | 3.0.11-1~deb12u2+sp999 | |
| openssl +1 | 3.0.16-1~deb12u1+sp999 |
ubuntu 6 releases · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | openssl1-0 | 1.0.2n-1ubuntu5.13+esm1 |
| 18.04-ESM | openssl | 1.1.1-1ubuntu2.1~18.04.23+esm4 |
| 20.04 | openssl | 1.1.1f-1ubuntu2.21 |
| 20.04-ESM | edk2 | affected |
| 20.04-ESM | openssl | 1.1.1f-1ubuntu2.21 |
| 22.04 | nodejs | affected |
5 more rows
wolfi 1 release · 7 packages
| Release | Package | Fixed in |
|---|---|---|
| py3-cassandra-medusa | 0.17.2-r1 | |
| ggshield | 1.25.0-r0 | |
| mitmproxy | 12.2.1-r0 | |
| kubeflow-pipelines | 2.0.5-r3 | |
| airflow | 2.10.5-r44 | |
| az | 2.57.0-r0 |
1 more row
References
- www.openwall.com http://www.openwall.com/lists/oss-security/2024/03/11/1
- access.redhat.com https://access.redhat.com/errata/RHSA-2024:9088
- access.redhat.com https://access.redhat.com/security/cve/CVE-2024-0727
- bugzilla.redhat.com https://bugzilla.redhat.com/2257571
- bugzilla.redhat.com https://bugzilla.redhat.com/2258502
- bugzilla.redhat.com https://bugzilla.redhat.com/2259944
- bugzilla.redhat.com https://bugzilla.redhat.com/2284243
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2257571
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2258502
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2259944
Show all 47 references
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2284243
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-265688.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-277137.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-331112.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-769027.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-915275.html
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-6129
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-6237
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-0727
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-1298
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2024-9088.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2024:9088
- github.com https://github.com/advisories/GHSA-9v9h-cgj8-h64p
- github.com https://github.com/alexcrichton/openssl-src-rs/commit/add20f73b6b42be7451af2e1044d4e0e778992b2
- github.com https://github.com/github/advisory-database/pull/3472
- github.com https://github.com/openssl/openssl/commit/09df4395b5071217b76dc7d3d2e630eb8c5a79c2
- github.com https://github.com/openssl/openssl/commit/775acfdbd0c6af9ac855f34969cdab0c0c90844a
- github.com https://github.com/openssl/openssl/commit/d135eeab8a5dbf72b3da5240bab9ddb7678dbd2c
- github.com https://github.com/openssl/openssl/pull/23362
- github.com https://github.com/pyca/cryptography/commit/3519591d255d4506fbcd0d04037d45271903c64d
- github.openssl.org https://github.openssl.org/openssl/extended-releases/commit/03b3941d60c4bce58fab69a0c22377ab439bc0e8
- github.openssl.org https://github.openssl.org/openssl/extended-releases/commit/aebaa5883e31122b404e450732dc833dc9dee539
- linux.oracle.com https://linux.oracle.com/cve/CVE-2024-0727.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2024-9088.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2024/10/msg00033.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2024/11/msg00000.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2024-0727
- security.netapp.com https://security.netapp.com/advisory/ntap-20240208-0006
- security.netapp.com https://security.netapp.com/advisory/ntap-20240208-0006/
- ubuntu.com https://ubuntu.com/security/notices/USN-6622-1
- ubuntu.com https://ubuntu.com/security/notices/USN-6632-1
- ubuntu.com https://ubuntu.com/security/notices/USN-6709-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7018-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7894-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2024-0727
- www.openssl.org https://www.openssl.org/news/secadv/20240125.txt
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.