CVE-2024-0397 Affecting python-3.8 package, versions <3.8.19-r1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

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 IDSNYK-CHAINGUARDLATEST-PYTHON38-7300165
  • published21 Jun 2024
  • disclosed17 Jun 2024

Introduced: 17 Jun 2024

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

How to fix?

Upgrade Chainguard python-3.8 to version 3.8.19-r1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-3.8 package and not the python-3.8 package as distributed by Chainguard. See How to fix? for Chainguard 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