CVE-2024-0397

High

Description

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.

SeverityHigh
CVSS7.4
Exploit probability—
ProductCPython
PublishedJun 17, 2024
First seenJun 17, 2024

How to fix

Affected products

ProductAffected versionsFixed in
Python Software Foundation CPythonv < 3.8.20, 3.9.0 ≤ v < 3.9.20, 3.10.0 ≤ v < 3.10.14, 3.11.0 ≤ v < 3.11.9, 3.12.0 ≤ v < 3.12.3, 3.13.0a1 ≤ v < 3.13.0a53.8.20, 3.9.20, 3.10.14, 3.11.9, 3.12.3, 3.13.0a5

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.