All CVEs / Python Software Foundation
CVE-2024-0397Python Software Foundation CPython
High 7.4 No auth needed
Follow: this CVE · Python Software Foundation · Python Software Foundation CPython We alert you by email or Slack (account required).
- Priority
- 59
- CVSS 3.1
- 7.4
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 54
- Auth required
- No
- Published
- Jun 17, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-362
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for CPython.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- Python Software Foundation · CPython
- python_software_foundation · cpython
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Multiple Vulnerabilities in Ruggedcom Rox Before V2.17.0 · Siemens · SSA-202008 · Dec 9, 2025 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.