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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | openssl | 3.0.7-r2 | ALPINE-CVE-2022-3996 |
| Alpine:v3.21 | openssl | 3.0.7-r2 | ALPINE-CVE-2022-3996 |
| Alpine:v3.22 | openssl | 3.0.7-r2 | ALPINE-CVE-2022-3996 |
| Alpine:v3.23 | openssl | 3.0.7-r2 | ALPINE-CVE-2022-3996 |
| Alpine:v3.24 | openssl | 3.0.7-r2 | ALPINE-CVE-2022-3996 |
| Debian:12 | openssl | 3.0.7-2 | DEBIAN-CVE-2022-3996 |
| Debian:13 | openssl | 3.0.7-2 | DEBIAN-CVE-2022-3996 |
| Debian:14 | openssl | 3.0.7-2 | DEBIAN-CVE-2022-3996 |
| Ubuntu:22.04:LTS | openssl | 3.0.2-0ubuntu1.9 | UBUNTU-CVE-2022-3996 |
| Ubuntu:22.04:LTS | openssl | 3.0.2-0ubuntu1.9 | USN-6039-1 |
Affected products (as reported)
Weakness: CWE-667 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H