Skip to content

openssl-src subject to DoS by double-checked locking

High severity GitHub Reviewed Published Dec 13, 2022 to the GitHub Advisory Database • Updated May 2, 2023

Package

cargo openssl-src (Rust)

Affected versions

>= 3.0.0, < 3.0.8

Patched versions

3.0.8

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 either X509_VERIFY_PARAM_add0_policy()' or `X509_VERIFY_PARAM_set1_policies()' functions.

References

Published by the National Vulnerability Database Dec 13, 2022
Published to the GitHub Advisory Database Dec 13, 2022
Reviewed May 2, 2023
Last updated May 2, 2023

Severity

High
7.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weaknesses

CVE ID

CVE-2022-3996

GHSA ID

GHSA-vr8j-hgmm-jh9r

Source code

No known source code

Credits

Checking history
See something to contribute? Suggest improvements for this vulnerability.