CVE-2022-3996
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2022-3996
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2022-3996.html
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| sles | affected | | |
| debian | bookworm | fixed | 3.0.7-2 |
| debian | bullseye | fixed | 0 |
| debian | forky | fixed | 3.0.7-2 |
| debian | sid | fixed | 3.0.7-2 |
| debian | trixie | fixed | 3.0.7-2 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| crates.io | openssl-src | >=300.0.0,<300.0.12 | 300.0.12 |
References
- https://www.suse.com/security/cve/CVE-2022-3996.html
- https://nvd.nist.gov/vuln/detail/CVE-2022-3996
- https://github.com/openssl/openssl/commit/7725e7bfe6f2ce8146b6552b44e0d226be7638e7
- https://github.com/alexcrichton/openssl-src-rs
- https://www.openssl.org/news/secadv/20221213.txt
- https://security-tracker.debian.org/tracker/CVE-2022-3996
Verify integrity in audit chain (admin only). AS-IS.