CVE-2022-3996
openssl: double locking leads to denial of service
Overview
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 theX509_VERIFY_PARAM_set1_policies()' function.
Update (31 March 2023): The description of the policy processing enablement was corrected based on CVE-2023-0466.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-667
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Cargo (Rust) | openssl-src | >=300.0.0, <300.0.12 | 300.0.12 |
| Conan (C/C++) | openssl | >=3.0.0 <=3.0.7 | 3.0.8 |
Open a package to see all its vulnerabilities.
Operating systems · 25 fixes
Azure Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | edk2 | 0:20240223gitedc6681206c1-2.azl3 |
Photon OS 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | nodejs +1 | 18.16.0-1.ph4 |
| 4.0 | openssl +4 | 3.0.7-2.ph4 |
SUSE Linux Enterprise 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | libopenssl-3-devel +2 | 3.0.1-150400.4.14.1 | SUSE-SU-2022:4586-1 |
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | openssl | 3.0.7-r2 |
| 3.23 | openssl | 3.0.7-r2 |
| 3.24 | openssl | 3.0.7-r2 |
| edge | openssl | 3.0.7-r2 |
amazon linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 2023 | openssl +6 | 1:3.0.5-1.amzn2023.0.7 |
chainguard 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| ruby-3-1 | not affected | |
| openssl | 3.0.7-r1 | |
| openssl-provider-fips | 3.0.8-r0 |
debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | openssl | 3.0.7-2 |
| 13 | openssl | 3.0.7-2 |
| 14 | openssl | 3.0.7-2 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| openssl | 3.0.7-2 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | libopenssl-3-devel +5 | 3.0.7-2.1 | openSUSE-SU-2024:12573-1 |
root.io alpine 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.23 | rootio-openssl | 3.0.7-r2 |
root.io debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-openssl | 3.0.7-2 |
seal debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| openssl +1 | 1.1.1w-0+deb11u2+sp999 |
ubuntu 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 22.04 | openssl | 3.0.2-0ubuntu1.9 |
| 24.04 | openssl | 3.0.7-1ubuntu1 |
| 26.04 | openssl | 3.0.7-1ubuntu1 |
wolfi 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| ruby-3-1 | not affected | |
| openssl | 3.0.7-r1 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2022-3996
- github.com https://github.com/alexcrichton/openssl-src-rs
- github.com https://github.com/openssl/openssl/commit/7725e7bfe6f2ce8146b6552b44e0d226be7638e7
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2022-3996
- security.netapp.com https://security.netapp.com/advisory/ntap-20230203-0003/
- ubuntu.com https://ubuntu.com/security/notices/USN-6039-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2022-3996
- www.openssl.org https://www.openssl.org/news/secadv/20221213.txt
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.