Skip to content
Fencer Vulns
high 7.5

CVE-2022-3996 json

X.509 Policy Constraints Double Locking

published 2022-12-13 3 y ago modified 2026-09-10 1 mo ago also EUVD-2022-7750 , GHSA-vr8j-hgmm-jh9r

cvss
7.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.3%
EPSS 1.3% chance of exploitation in 30 days, percentile 70%
public exploits
0
none known

Summary

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.

Patch / fix

  • crates.io openssl-src 300.0.12
  • OpenSSL OpenSSL 3.0.7
  • openssl Debian 14, Debian 13, Debian 12 3.0.7-2

debian advisories DEBIAN-CVE-2022-3996

  • openssl Ubuntu 22.04 LTS 3.0.2-0ubuntu1.9

ubuntu advisories UBUNTU-CVE-2022-3996

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • openssl-3 SLE Module for Basesystem 15 SP4, openSUSE Leap 15.4 3.0.1-150400.4.14.1

suse advisories SUSE-SU-2022:4586-1

  • openssl-3 openSUSE Tumbleweed 3.0.7-2.1

opensuse advisories openSUSE-SU-2024:12573-1

  • openssl Alpine 3.24, Alpine 3.23, Alpine 3.22 +5 more 3.0.7-r2
  • openssl3 Alpine 3.16, Alpine 3.15 3.0.8-r0

alpine advisories ALPINE-CVE-2022-3996

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • edk2 Azure Linux 3.0 20240223gitedc6681206c1-2

azure linux advisories AZL-40306

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-3996 updated cvss 5.3

openssl: double locking leads to denial of service

  • Red Hat Enterprise Linux 6 openssl, openssl-perl Red Hat Enterprise Linux 7 ovmf, OVMF, AAVMF, openssl, openssl-libs, openssl-perl Red Hat Enterprise Linux 8 edk2, shim, openssl, shim-x64, edk2-ovmf, shim-aa64, +5 more Red Hat Enterprise Linux 9 edk2, shim, openssl, shim-x64, edk2-ovmf, shim-aa64, +5 more Red Hat JBoss Core Services jbcs-httpd24-openssl Red Hat JBoss Web Server 3 openssl
    +1 more products
    Red Hat JBoss Web Server 5 openssl
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
2 y ago

Exploit prediction

1.31% chance of exploitation in the next 30 days, higher than 70% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CISA ADP 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CNA 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
crates.io openssl-src
>=300.0.0, <300.0.12
300.0.12

Affected products

  • OpenSSL OpenSSL
  • netapp ontap_9
  • netapp fas\/aff_baseboard_management_controller
  • netapp management_services_for_element_software
  • netapp altavault_ost_plug-in
  • netapp hci_baseboard_management_controller
  • netapp smi-s_provider

Classification

Weakness
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Improve version ranges to indicate fix.