CVE-2022-3996
HIGH7.5EPSS 0.14%Denial of service by double-checked locking in openssl-src
Published: 12/13/2022Modified: 2/4/2026
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 either `X509_VERIFY_PARAM_add0_policy()' or `X509_VERIFY_PARAM_set1_policies()' functions.
Affected packages (4)
- Alpine/opensslfrom 0, < 3.0.7-r2
- Alpine/openssl3from 0, < 3.0.8-r0
- crates.io/openssl-src>= 300.0.0, < 300.0.12
- Debian/opensslfrom 0, < 3.0.7-2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
References (6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2022-3996
- ADVISORYhttps://security.alpinelinux.org/vuln/CVE-2022-3996
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2022-3996
- PATCHhttps://github.com/alexcrichton/openssl-src-rs
- WEBhttps://github.com/openssl/openssl/commit/7725e7bfe6f2ce8146b6552b44e0d226be7638e7
- WEBhttps://www.openssl.org/news/secadv/20221213.txt