{"schema_version":"1.9.0","id":"GHSA-vr8j-hgmm-jh9r","published":"2022-12-13T18:30:33Z","modified":"2026-09-10T03:49:50.494201995Z","aliases":["CVE-2022-3996"],"summary":"Denial of service by double-checked locking in openssl-src","details":"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":[{"package":{"name":"openssl-src","ecosystem":"crates.io","purl":"pkg:cargo/openssl-src"},"ranges":[{"type":"SEMVER","events":[{"introduced":"300.0.0"},{"fixed":"300.0.12"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/12/GHSA-vr8j-hgmm-jh9r/GHSA-vr8j-hgmm-jh9r.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-3996"},{"type":"WEB","url":"https://github.com/openssl/openssl/commit/7725e7bfe6f2ce8146b6552b44e0d226be7638e7"},{"type":"PACKAGE","url":"https://github.com/alexcrichton/openssl-src-rs"},{"type":"WEB","url":"https://www.openssl.org/news/secadv/20221213.txt"}],"database_specific":{"cwe_ids":["CWE-667"],"github_reviewed":true,"github_reviewed_at":"2023-05-02T16:35:23Z","nvd_published_at":"2022-12-13T16:15:00Z","severity":"HIGH"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"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"}]}