Skip to content
OpenAdvisories
High · 7.5 CVE-2022-3996 EUVD-2022-7750GHSA-vr8j-hgmm-jh9r

X.509 Policy Constraints Double Locking

Published Dec 13, 2022 · Updated Aug 3, 2024 · Assigned by openssl

Description

If an X.509 certificate contains a malformed policy constraint and
policy processing is enabled, then a write lock will be taken twice
recursively. On some operating systems (most widely: Windows) this
results in a denial of service when the affected process hangs. Policy
processing being enabled on a publicly facing server is not considered
to be a common setup.

Policy processing is enabled by passing the `-policy'
argument to the command line utilities or by calling the
`X509_VERIFY_PARAM_set1_policies()' function.

Update (31 March 2023): The description of the policy processing enablement
was corrected based on CVE-2023-0466.

Affected products

VendorProductAffectedFixed
OpenSSL OpenSSL 3.0.0 – ≤ 3.0.7 —

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.0.7-2 —
Debian 13 openssl 3.0.7-2 —
Debian 12 openssl 3.0.7-2 —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS openssl 3.0.2-0ubuntu1.9 USN-6039-1
Ubuntu 20.04 LTS openssl 1.1.1f-1ubuntu2.18 USN-6039-1
Ubuntu 18.04 LTS openssl 1.1.1-1ubuntu2.1~18.04.22 USN-6039-1
Ubuntu 18.04 LTS openssl1.0 1.0.2n-1ubuntu5.12 USN-6039-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS edk2 No fix yet —
Ubuntu Pro 16.04 LTS openssl 1.0.2g-1ubuntu4.20+esm7 USN-6039-1
Ubuntu Pro 14.04 LTS openssl 1.0.1f-1ubuntu2.27+esm7 USN-6039-1
ReleasePackageFixed inAdvisory
SLES 15 SP4 openssl-3 3.0.1-150400.4.14.1 SUSE-SU-2022:4586-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed openssl-3 3.0.7-2.1 openSUSE-SU-2024:12573-1
openSUSE Leap 15.4 openssl-3 3.0.1-150400.4.14.1 SUSE-SU-2022:4586-1
ReleasePackageFixed inAdvisory
Alpine v3.24 openssl 3.0.7-r2 —
Alpine v3.23 openssl 3.0.7-r2 —
Alpine v3.22 openssl 3.0.7-r2 —
Alpine v3.21 openssl 3.0.7-r2 —
Alpine v3.20 openssl 3.0.7-r2 —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 openssl 3.0.7-r2 —
Alpine v3.18 openssl 3.0.7-r2 —
Alpine v3.17 openssl 3.0.7-r2 —
Alpine v3.16 openssl3 3.0.8-r0 —
Alpine v3.15 openssl3 3.0.8-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 openssl +3 1:3.0.5-1.amzn2023.0.7 ALAS2023-2023-095

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 edk2 20240223gitedc6681206c1-2 —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling openssl 3.0.7-r1 —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io openssl-src >= 300.0.0, < 300.0.12 300.0.12 GHSA-vr8j-hgmm-jh9r

Advisories 5

References