Advisory

GHSA-vr8j-hgmm-jh9r

Also known as: 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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-12-13 18:30 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

openssl-src

crates.io · All systems

Affected

  • introduced 300.0.0, fixed 300.0.12 (semver)

Fixed versions

300.0.12

Fix

  • Fixed version 300.0.12
    cargo update -p openssl-src --precise 300.0.12

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences