# CVE-2022-3996: Denial of service by double-checked locking in openssl-src

Source: https://junglewise.ai/threats/cve-2022-3996-denial-of-service-by-double-checked-locking-in-openssl-src  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-12-13  
License: CC BY 4.0 with a link back

CVE-2022-3996 · Severity: low · CVSS 3.1 · Published 2022-12-13

Denial of service by double-checked locking in openssl-src

Technologies: [openssl-src (crates.io)](https://junglewise.ai/threats/technologies/openssl-src). Vendors: [crates.io](https://junglewise.ai/threats/vendors/crates-io).

## Quick answers

**Is CVE-2022-3996 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-3996 being exploited in the wild.

**How severe is CVE-2022-3996?** Low severity, with a CVSS score of 3.1, published 13 December 2022.

**Which products and versions are affected?** openssl-src (crates.io) SEMVER:introduced=300.0.0,fixed=300.0.12.

**Is there a fix for CVE-2022-3996?** Yes. openssl-src (crates.io): upgrade to 300.0.12 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-3996?** Check whether you run openssl-src (crates.io) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- openssl-src (crates.io): upgrade to 300.0.12 or later

  ```sh
  cargo update -p openssl-src
  ```


## Affected products

- openssl-src (crates.io) SEMVER:introduced=300.0.0,fixed=300.0.12

## Identifiers

- CVE-2022-3996
- GHSA-vr8j-hgmm-jh9r

## Related threats

- [RUSTSEC-2023-0009 - Use-after-free following `BIO_new_NDEF`](https://junglewise.ai/threats/cve-2023-0215-openssl-src-vulnerable-to-use-after-free-following-bio-new-ndef)
- [RUSTSEC-2023-0008 - X.509 Name Constraints Read Buffer Overflow](https://junglewise.ai/threats/cve-2022-4203-openssl-src-contains-read-buffer-overflow-in-x-509-name-constraint)
- [RUSTSEC-2023-0006 - X.400 address type confusion in X.509 `GeneralName`](https://junglewise.ai/threats/cve-2023-0286-vulnerable-openssl-included-in-cryptography-wheels)
- [RUSTSEC-2023-0007 - Timing Oracle in RSA Decryption](https://junglewise.ai/threats/cve-2022-4304-hitachi-energy-gms600-observable-discrepancy-in-openssl-rsa)
- [RUSTSEC-2023-0011 - Invalid pointer dereference in `d2i_PKCS7` functions](https://junglewise.ai/threats/cve-2023-0216-openssl-src-subject-to-invalid-pointer-dereference-in-d2i-pkcs7)
