Advisory Database
  • Advisories
  • Dependency Scanning
  1. conan
  2. ›
  3. openssl
  4. ›
  5. CVE-2022-3996

CVE-2022-3996: Improper Locking

December 13, 2022 (updated November 9, 2023)

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.

References

  • github.com/openssl/openssl/commit/7725e7bfe6f2ce8146b6552b44e0d226be7638e7
  • nvd.nist.gov/vuln/detail/CVE-2022-3996
  • www.openssl.org/news/secadv/20221213.txt

Code Behaviors & Features

Detect and mitigate CVE-2022-3996 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.0.0 up to 3.0.7

Fixed versions

  • 3.0.8

Solution

Upgrade to version 3.0.8 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-667: Improper Locking

Source file

conan/openssl/CVE-2022-3996.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:58 +0000.