X.509 Policy Constraints Double Locking
Summary
X.509 Policy Constraints Double Locking
Original description
The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
Affected packages
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Alpine Linux ALPINE-CVE-2022-3996 openssl Fixed in: 3.0.7-r2
- Debian DEBIAN-CVE-2022-3996 openssl Fixed in: 3.0.7-2
- Ubuntu UBUNTU-CVE-2022-3996 edk2
References
- advisory nvd.nist.gov
- advisory openssl.org
- advisory github.com
- advisory security.netapp.com
- package github.com
- patch github.com