CVE-2024-0397
HIGHDescription
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.
How to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H
Exploit Intelligence
Moderate risk: more likely to be exploited than 52% of all known CVEs.
References
Related Vulnerabilities
Other CWE-362 (Race Condition) vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2024-6387 | High | 8.1 | 100% | - | Fix |
| CVE-2023-36884 | High | 7.5 | 99% | KEV + Ransom | Fix |
| CVE-2018-15473 | Medium | 5.3 | 99% | - | Fix |
| CVE-2024-27983 | High | 8.2 | 87% | - | Fix |
| CVE-2014-0226 | Medium | 6.8 | 86% | - | Fix |
| CVE-2016-5195 | High | 7.0 | 84% | KEV | Fix |
Embed a live status badge for CVE-2024-0397
Markdown
[](https://tridentstack.com/cve/CVE-2024-0397)HTML
<a href="https://tridentstack.com/cve/CVE-2024-0397"><img src="https://tridentstack.com/cve/badge/CVE-2024-0397.svg" alt="CVE-2024-0397"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-11-03.