CVE-2024-0727

EUVD-2024-0317
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
5.5 MEDIUM
LOCAL
LOW
NONE
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 43%
Affected Products (NVD)
VendorProductVersion
opensslopenssl
1.0.2 ≤
𝑥
< 1.0.2zj
opensslopenssl
1.1.1 ≤
𝑥
< 1.1.1x
opensslopenssl
3.0.0 ≤
𝑥
< 3.0.13
opensslopenssl
3.1.0 ≤
𝑥
< 3.1.5
opensslopenssl
3.2.0
𝑥
= Vulnerable software versions
Early Detection
Affected products identified ahead of NVD analysis through intelligence sources.
VendorProductVersionSource
SiemensSIDIS Prime
𝑥
< V4.0.700
ADP
SiemensSIMATIC S7-1500 TM MFP - GNU\/Linux subsystem
𝑥
< *
ADP
SiemensSINEC NMS
𝑥
< V3.0 SP1
ADP
Debian logo
Debian Releases
Debian Product
Codename
openssl
bookworm
3.0.17-1~deb12u2
fixed
bookworm (security)
3.0.17-1~deb12u3
fixed
bullseye
vulnerable
bullseye (security)
1.1.1w-0+deb11u4
fixed
buster
postponed
forky
3.5.4-1
fixed
sid
3.5.4-1
fixed
trixie
3.5.4-1~deb13u1
fixed
trixie (security)
3.5.1-1+deb13u1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
openssl1.0
bionic
Fixed 1.0.2n-1ubuntu5.13+esm1
released
focal
dne
jammy
dne
lunar
dne
mantic
dne
noble
dne
oracular
dne
plucky
dne
questing
dne
trusty
dne
xenial
dne
nodejs
bionic
not-affected
focal
not-affected
jammy
needed
lunar
not-affected
mantic
not-affected
noble
not-affected
oracular
not-affected
plucky
not-affected
questing
not-affected
trusty
not-affected
xenial
not-affected
edk2
bionic
needs-triage
focal
needed
jammy
Fixed 2022.02-3ubuntu0.22.04.4
released
lunar
ignored
mantic
ignored
noble
Fixed 2024.02-2ubuntu0.6
released
oracular
ignored
plucky
not-affected
questing
not-affected
trusty
ignored
xenial
needs-triage
openssl
bionic
Fixed 1.1.1-1ubuntu2.1~18.04.23+esm4
released
focal
Fixed 1.1.1f-1ubuntu2.21
released
jammy
Fixed 3.0.2-0ubuntu1.14
released
lunar
ignored
mantic
Fixed 3.0.10-1ubuntu2.2
released
noble
Fixed 3.0.10-1ubuntu4
released
oracular
Fixed 3.0.10-1ubuntu4
released
plucky
Fixed 3.0.10-1ubuntu4
released
questing
Fixed 3.0.10-1ubuntu4
released
trusty
Fixed 1.0.1f-1ubuntu2.27+esm10
released
xenial
Fixed 1.0.2g-1ubuntu4.20+esm11
released
openSUSE logo
openSUSE / SLES Releases
openSUSE Product
Release
libopenssl-3-devel
suse enterprise desktop 15 SP5
3.0.8-150500.5.27.1
fixed
suse enterprise desktop 15 SP6
3.1.4-150600.3.6
fixed
suse enterprise desktop 15 SP7
3.2.3-150700.3.20
fixed
suse enterprise sap 15 SP5
3.0.8-150500.5.27.1
fixed
suse enterprise sap 15 SP6
3.1.4-150600.3.6
fixed
suse enterprise sap 15 SP7
3.2.3-150700.3.20
fixed
suse enterprise server 15 SP4
3.0.8-150400.4.49.1
fixed
suse enterprise server 15 SP5
3.0.8-150500.5.27.1
fixed
suse enterprise server 15 SP6
3.1.4-150600.3.6
fixed
suse enterprise server 15 SP7
3.2.3-150700.3.20
fixed
libopenssl-3-fips-provider
suse enterprise desktop 15 SP6
3.1.4-150600.3.6
fixed
suse enterprise desktop 15 SP7
3.2.3-150700.3.20
fixed
suse enterprise sap 15 SP6
3.1.4-150600.3.6
fixed
suse enterprise sap 15 SP7
3.2.3-150700.3.20
fixed
suse enterprise server 15 SP6
3.1.4-150600.3.6
fixed
suse enterprise server 15 SP7
3.2.3-150700.3.20
fixed
libopenssl-3-fips-provider-32bit
suse enterprise desktop 15 SP6
3.1.4-150600.3.6
fixed
suse enterprise desktop 15 SP7
3.2.3-150700.3.20
fixed
suse enterprise sap 15 SP6
3.1.4-150600.3.6
fixed
suse enterprise sap 15 SP7
3.2.3-150700.3.20
fixed
suse enterprise server 15 SP6
3.1.4-150600.3.6
fixed
suse enterprise server 15 SP7
3.2.3-150700.3.20
fixed
libopenssl3
suse enterprise desktop 15 SP5
3.0.8-150500.5.27.1
fixed
suse enterprise desktop 15 SP6
3.1.4-150600.3.6
fixed
suse enterprise desktop 15 SP7
3.2.3-150700.3.20
fixed
suse enterprise sap 15 SP5
3.0.8-150500.5.27.1
fixed
suse enterprise sap 15 SP6
3.1.4-150600.3.6
fixed
suse enterprise sap 15 SP7
3.2.3-150700.3.20
fixed
suse enterprise server 15 SP4
3.0.8-150400.4.49.1
fixed
suse enterprise server 15 SP5
3.0.8-150500.5.27.1
fixed
suse enterprise server 15 SP6
3.1.4-150600.3.6
fixed
suse enterprise server 15 SP7
3.2.3-150700.3.20
fixed
libopenssl3-32bit
suse enterprise desktop 15 SP6
3.1.4-150600.3.6
fixed
suse enterprise desktop 15 SP7
3.2.3-150700.3.20
fixed
suse enterprise sap 15 SP6
3.1.4-150600.3.6
fixed
suse enterprise sap 15 SP7
3.2.3-150700.3.20
fixed
suse enterprise server 15 SP6
3.1.4-150600.3.6
fixed
suse enterprise server 15 SP7
3.2.3-150700.3.20
fixed
openssl-3
suse enterprise desktop 15 SP5
3.0.8-150500.5.27.1
fixed
suse enterprise desktop 15 SP6
3.1.4-150600.3.6
fixed
suse enterprise desktop 15 SP7
3.2.3-150700.3.20
fixed
suse enterprise sap 15 SP5
3.0.8-150500.5.27.1
fixed
suse enterprise sap 15 SP6
3.1.4-150600.3.6
fixed
suse enterprise sap 15 SP7
3.2.3-150700.3.20
fixed
suse enterprise server 15 SP4
3.0.8-150400.4.49.1
fixed
suse enterprise server 15 SP5
3.0.8-150500.5.27.1
fixed
suse enterprise server 15 SP6
3.1.4-150600.3.6
fixed
suse enterprise server 15 SP7
3.2.3-150700.3.20
fixed
Red Hat logo
Red Hat Enterprise Linux Releases
Red Hat Product
Release
edk2-aarch64
RHEL 9
0:20240524-6.el9_5
fixed
edk2-ovmf
RHEL 9
0:20240524-6.el9_5
fixed
edk2-tools
RHEL 9
0:20240524-6.el9_5
fixed
edk2-tools-doc
RHEL 9
0:20240524-6.el9_5
fixed
openssl
RHEL 9
1:3.0.7-27.el9
fixed
openssl-devel
RHEL 9
1:3.0.7-27.el9
fixed
openssl-libs
RHEL 9
1:3.0.7-27.el9
fixed
openssl-perl
RHEL 9
1:3.0.7-27.el9
fixed
References