Race Condition Affecting python3.11-devel package, versions <0:3.11.6-1.amzn2023.0.5


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.04% (15th 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 Learn

Learn about Race Condition vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2023-PYTHON311DEVEL-8496368
  • published11 Dec 2024
  • disclosed17 Jun 2024

Introduced: 17 Jun 2024

CVE-2024-0397  (opens in a new tab)
CWE-362  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 python3.11-devel to version 0:3.11.6-1.amzn2023.0.5 or higher.
This issue was patched in ALAS2023-2024-788.

NVD Description

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

A defect was discovered in the Python “ssl” module where there is a memory race condition with the ssl.SSLContext methods “cert_store_stats()” and “get_ca_certs()”. The race condition can be triggered if the methods are called at the same time as certificates are loaded into the SSLContext, such as during the TLS handshake with a certificate directory configured. This issue is fixed in CPython 3.10.14, 3.11.9, 3.12.3, and 3.13.0a5.

CVSS Scores

version 3.1