Double-Checked Locking Affecting openssl-devel package, versions <1:3.0.5-1.amzn2023.0.7


Severity

Recommended
low

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.11% (45th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-OPENSSLDEVEL-3348658
  • published7 Mar 2023
  • disclosed13 Dec 2022

Introduced: 13 Dec 2022

CVE-2022-3996  (opens in a new tab)
CWE-609  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 openssl-devel to version 1:3.0.5-1.amzn2023.0.7 or higher.
This issue was patched in ALAS2023-2023-095.

NVD Description

Note: Versions mentioned in the description apply only to the upstream openssl-devel package and not the openssl-devel package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

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&#39; 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.

CVSS Scores

version 3.1