high7.5
CVE-2022-3996
Denial of service by double-checked locking in openssl-src
Impact
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
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| rust | openssl-src | >= 300.0.0, < 300.0.12 | 300.0.12 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Openssl | Openssl | from 3.0.0 through 3.0.7 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/openssl/openssl/commit/7725e7bfe6f2ce8146b6552b44e0d226be7638e7
- https://www.openssl.org/news/secadv/20221213.txt
- https://security.netapp.com/advisory/ntap-20230203-0003/
- https://github.com/advisories/GHSA-vr8j-hgmm-jh9r
- https://nvd.nist.gov/vuln/detail/CVE-2022-3996