Vulnerability · Published Dec 13, 2022 · Assigned by openssl

CVE-2022-3996X.509 Policy Constraints Double Locking

High 7.5

In plain English

A high-severity security flaw in OpenSSL from OpenSSL. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 71% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.3%top 29.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20openssl3.0.7-r2ALPINE-CVE-2022-3996
Alpine:v3.21openssl3.0.7-r2ALPINE-CVE-2022-3996
Alpine:v3.22openssl3.0.7-r2ALPINE-CVE-2022-3996
Alpine:v3.23openssl3.0.7-r2ALPINE-CVE-2022-3996
Alpine:v3.24openssl3.0.7-r2ALPINE-CVE-2022-3996
Debian:12openssl3.0.7-2DEBIAN-CVE-2022-3996
Debian:13openssl3.0.7-2DEBIAN-CVE-2022-3996
Debian:14openssl3.0.7-2DEBIAN-CVE-2022-3996
Ubuntu:22.04:LTSopenssl3.0.2-0ubuntu1.9UBUNTU-CVE-2022-3996
Ubuntu:22.04:LTSopenssl3.0.2-0ubuntu1.9USN-6039-1

Affected products (as reported)

VendorProductVersions
OpenSSL OpenSSL 3.0.0 – through 3.0.7

Weakness: CWE-667 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References