Skip to content
OpenAdvisories

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.

Affected products

VendorProductAffectedFixed
OpenSSL OpenSSL 3.2.0 – < 3.2.1, 3.1.0 – < 3.1.5, 3.0.0 – < 3.0.13, 1.1.1 – < 1.1.1x, 1.0.2 – < 1.0.2zj 3.2.1

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 openssl 3.1.5-1 —
Debian 13 openssl 3.1.5-1 —
Debian 12 openssl 3.0.13-1~deb12u1 —
Debian 11 openssl 1.1.1n-0+deb11u6 DLA-3942-2, DLA-3942-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS edk2 2024.02-2ubuntu0.6 USN-7894-1
Ubuntu 24.04 LTS openssl 3.0.10-1ubuntu4 —
Ubuntu 22.04 LTS edk2 2022.02-3ubuntu0.22.04.4 USN-7894-1
Ubuntu 22.04 LTS openssl 3.0.2-0ubuntu1.14 USN-6622-1
Ubuntu 20.04 LTS openssl 1.1.1f-1ubuntu2.21 USN-6622-1
Show 13 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro FIPS 20.04 LTS openssl No fix yet —
Ubuntu Pro FIPS 18.04 LTS openssl No fix yet —
Ubuntu Pro FIPS 16.04 LTS openssl No fix yet —
Ubuntu Pro FIPS-updates 22.04 LTS openssl 3.0.2-0ubuntu1.14+Fips1 —
Ubuntu Pro FIPS-updates 20.04 LTS openssl 1.1.1f-1ubuntu2.fips.20 —
Ubuntu Pro FIPS-updates 18.04 LTS openssl 1.1.1-1ubuntu2.fips.2.1~18.04.23.4 —
Ubuntu Pro FIPS-updates 16.04 LTS openssl 1.0.2g-1ubuntu4.fips.4.20.11 —
Ubuntu Pro FIPS-preview 22.04 LTS openssl No fix yet —
Ubuntu Pro 22.04 LTS nodejs No fix yet —
Ubuntu Pro 20.04 LTS edk2 No fix yet —
Ubuntu Pro 18.04 LTS edk2 No fix yet —
Ubuntu Pro 18.04 LTS openssl 1.1.1-1ubuntu2.1~18.04.23+esm4 USN-6632-1
Ubuntu Pro 18.04 LTS openssl1.0 1.0.2n-1ubuntu5.13+esm1 USN-6709-1
Ubuntu Pro 16.04 LTS edk2 No fix yet —
Ubuntu Pro 16.04 LTS openssl 1.0.2g-1ubuntu4.20+esm11 USN-6632-1
Ubuntu Pro 14.04 LTS openssl 1.0.1f-1ubuntu2.27+esm10 USN-7018-1
ReleasePackageFixed inAdvisory
RHEL 9 edk2 +4 20240524-6.el9_5 RHSA-2024:9088
RHEL 9 openssl +3 1:3.0.7-27.el9 RHSA-2024:2447

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 edk2-ovmf +3 20240524-6.el9_5 ALSA-2024:9088
AlmaLinux 9 openssl +3 1:3.0.7-27.el9 ALSA-2024:2447

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 edk2 20240524-6.el9_5.3 RLSA-2024:9088
ReleasePackageFixed inAdvisory
SLES 15 SP5 openssl-1_0_0 1.0.2p-150000.3.91.1 SUSE-SU-2024:0831-1
SLES 15 SP5 openssl-1_1 1.1.1l-150500.17.25.1 SUSE-SU-2024:0549-1
SLES 15 SP5 openssl-3 3.0.8-150500.5.27.1 SUSE-SU-2024:0815-1
SLES 15 SP4 openssl-1_0_0 1.0.2p-150000.3.91.1 SUSE-SU-2024:0831-1
SLES 15 SP4 openssl-1_1 1.1.1l-150400.7.63.1 SUSE-SU-2024:0833-1
SLES 15 SP4 openssl-3 3.0.8-150400.4.49.1 SUSE-SU-2024:0518-1
SLES 15 SP3 openssl-1_0_0 1.0.2p-150000.3.91.1 SUSE-SU-2024:0831-1
SLES 15 SP3 openssl-1_1 1.1.1d-150200.11.85.1 SUSE-SU-2024:0832-1
SLES 15 SP2 openssl-1_0_0 1.0.2p-150000.3.91.1 SUSE-SU-2024:0831-1
SLES 15 SP2 openssl-1_1 1.1.1d-150200.11.85.1 SUSE-SU-2024:0832-1
SLES 12 SP5 openssl-1_0_0 1.0.2p-3.90.1 SUSE-SU-2024:0814-1
SLES 12 SP5 openssl-1_1 1.1.1d-2.104.1 SUSE-SU-2024:0813-1
Show 17 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 compat-openssl098 0.9.8j-106.64.1 SUSE-SU-2024:0840-1
SLES 11 SP4 openssl 0.9.8j-0.106.83.1 SUSE-SU-2024:0842-1
SLES 11 SP4 openssl1 1.0.1g-0.58.79.1 SUSE-SU-2024:0841-1
SLES for SAP 15 SP4 openssl-1_0_0 1.0.2p-150000.3.91.1 SUSE-SU-2024:0831-1
SLES for SAP 15 SP4 openssl-1_1 1.1.1l-150400.7.63.1 SUSE-SU-2024:0833-1
SLES for SAP 15 SP4 openssl-3 3.0.8-150400.4.49.1 SUSE-SU-2024:0518-1
SLES for SAP 15 SP3 openssl-1_0_0 1.0.2p-150000.3.91.1 SUSE-SU-2024:0831-1
SLES for SAP 15 SP3 openssl-1_1 1.1.1d-150200.11.85.1 SUSE-SU-2024:0832-1
SLES for SAP 15 SP2 openssl-1_0_0 1.0.2p-150000.3.91.1 SUSE-SU-2024:0831-1
SLES for SAP 15 SP2 openssl-1_1 1.1.1d-150200.11.85.1 SUSE-SU-2024:0832-1
SLES for SAP 12 SP5 compat-openssl098 0.9.8j-106.64.1 SUSE-SU-2024:0840-1
SLES for SAP 12 SP5 openssl-1_0_0 1.0.2p-3.90.1 SUSE-SU-2024:0814-1
SLES for SAP 12 SP5 openssl-1_1 1.1.1d-2.104.1 SUSE-SU-2024:0813-1
SLE Micro 5.5 openssl-1_1 1.1.1l-150500.17.25.1 SUSE-SU-2024:0549-1
SLE Micro 5.4 openssl-1_1 1.1.1l-150400.7.63.1 SUSE-SU-2024:0833-1
SLE Micro 5.4 openssl-3 3.0.8-150400.4.49.1 SUSE-SU-2024:0518-1
SLE Micro 5.3 openssl-1_1 1.1.1l-150400.7.63.1 SUSE-SU-2024:0833-1
SLE Micro 5.3 openssl-3 3.0.8-150400.4.49.1 SUSE-SU-2024:0518-1
SLE Micro 5.2 openssl-1_1 1.1.1d-150200.11.85.1 SUSE-SU-2024:0832-1
SLE Micro 5.1 openssl-1_1 1.1.1d-150200.11.85.1 SUSE-SU-2024:0832-1
SLE HPC 15 SP4 openssl-1_0_0 1.0.2p-150000.3.91.1 SUSE-SU-2024:0831-1
SLE HPC 15 SP4 openssl-1_1 1.1.1l-150400.7.63.1 SUSE-SU-2024:0833-1
SLE HPC 15 SP4 openssl-3 3.0.8-150400.4.49.1 SUSE-SU-2024:0518-1
SLE HPC 15 SP3 openssl-1_0_0 1.0.2p-150000.3.91.1 SUSE-SU-2024:0831-1
SLE HPC 15 SP3 openssl-1_1 1.1.1d-150200.11.85.1 SUSE-SU-2024:0832-1
SLE HPC 15 SP2 openssl-1_1 1.1.1d-150200.11.85.1 SUSE-SU-2024:0832-1
SUSE Manager Server 4.3 openssl-1_1 1.1.1l-150400.7.63.1 SUSE-SU-2024:0833-1
SUSE Manager Server 4.3 openssl-3 3.0.8-150400.4.49.1 SUSE-SU-2024:0518-1
SUSE Manager Proxy 4.3 openssl-1_1 1.1.1l-150400.7.63.1 SUSE-SU-2024:0833-1
SUSE Manager Proxy 4.3 openssl-3 3.0.8-150400.4.49.1 SUSE-SU-2024:0518-1
SUSE Enterprise Storage 7.1 openssl-1_0_0 1.0.2p-150000.3.91.1 SUSE-SU-2024:0831-1
SUSE Enterprise Storage 7.1 openssl-1_1 1.1.1d-150200.11.85.1 SUSE-SU-2024:0832-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed boringssl 0.20260813-1.1 openSUSE-SU-2026:11592-1
openSUSE Tumbleweed openssl-1_0_0 1.0.2u-24.1 openSUSE-SU-2024:13656-1
openSUSE Tumbleweed openssl-1_1 1.1.1w-7.1 openSUSE-SU-2024:13662-1
openSUSE Tumbleweed openssl-3 3.1.4-4.1 openSUSE-SU-2024:13663-1
openSUSE Leap 15.5 openssl-1_0_0 1.0.2p-150000.3.91.1 SUSE-SU-2024:0831-1
openSUSE Leap 15.5 openssl-1_1 1.1.1l-150500.17.25.1 SUSE-SU-2024:0549-1
openSUSE Leap 15.5 openssl-3 3.0.8-150500.5.27.1 SUSE-SU-2024:0815-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.4 openssl-1_1 1.1.1l-150400.7.63.1 SUSE-SU-2024:0833-1
openSUSE Leap Micro 5.4 openssl-3 3.0.8-150400.4.49.1 SUSE-SU-2024:0518-1
openSUSE Leap Micro 5.3 openssl-1_1 1.1.1l-150400.7.63.1 SUSE-SU-2024:0833-1
openSUSE Leap Micro 5.3 openssl-3 3.0.8-150400.4.49.1 SUSE-SU-2024:0518-1
ReleasePackageFixed inAdvisory
Alpine v3.24 openssl 3.1.4-r5 —
Alpine v3.23 openssl 3.1.4-r5 —
Alpine v3.22 openssl 3.1.4-r5 —
Alpine v3.21 openssl 3.1.4-r5 —
Alpine v3.20 openssl 3.1.4-r5 —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 openssl 3.1.4-r5 —
Alpine v3.18 openssl 3.1.4-r5 —
Alpine v3.17 openssl 3.0.12-r4 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 openssl +4 1:3.0.8-1.amzn2023.0.11 ALAS2023-2024-520
Amazon Linux 2 edk2-ovmf +4 20200801stable-1.amzn2.0.4 ALAS2-2024-2483
Amazon Linux 2 openssl +4 1:1.0.2k-24.amzn2.0.12 ALAS2-2024-2479
Amazon Linux 2 openssl11 +3 1:1.1.1g-12.amzn2.0.20 ALAS2-2024-2478

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 cloud-hypervisor-cvm 38.0.72.2-1 —
Azure Linux 3 kata-containers 3.2.0.azl1-1 —
Azure Linux 3 nodejs 16.20.2-2 —
Azure Linux 3 openssl 1.1.1k-29 —
Azure Linux 3 openssl-fips-provider No fix yet —
Azure Linux 2 (CBL-Mariner) cloud-hypervisor-cvm 38.0.72.2-1 —
Azure Linux 2 (CBL-Mariner) hvloader 1.0.1-9 —
Azure Linux 2 (CBL-Mariner) nodejs 16.20.2-2 —
Azure Linux 2 (CBL-Mariner) openssl 1.1.1k-29 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 edk2-ovmf +3 20240524-6.0.1.el9_5 ELSA-2024-9088
Oracle Linux 9 openssl +3 1:3.0.7-27.0.3.el9 ELSA-2024-2447
Oracle Linux 9 openssl-fips-provider 3.0.7-2.0.1.el9 ELSA-2024-2447

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling airflow 2.10.5-r44 —
Wolfi rolling az 2.57.0-r0 —
Wolfi rolling ggshield 1.25.0-r0 —
Wolfi rolling kubeflow-pipelines 2.0.5-r3 —
Wolfi rolling mitmproxy 12.2.1-r0 —
Wolfi rolling openssl 3.2.1-r0 —
Wolfi rolling py3-cassandra-medusa 0.17.2-r1 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI cryptography < 42.0.2 42.0.2 GHSA-9v9h-cgj8-h64p

Advisories 50

References