CVE-2022-3996
Denial of service by double-checked locking in openssl-src
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.
How to fix CVE-2022-3996
To remediate CVE-2022-3996, upgrade the affected package to a fixed version below.
- —upgrade to 3.0.7-r2 or later
- —upgrade to 3.0.8-r0 or later
- —upgrade to 300.0.12 or later
- —upgrade to 3.0.7-2 or later
Is CVE-2022-3996 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- from 0, < 3.0.7-r2
- from 0, < 3.0.8-r0
- >= 300.0.0, < 300.0.12
- from 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 |