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.
CVE-2024-0397
Score 7.4 from GitHub Security Advisory (severity: HIGH) published 2024-06-17. NVD baseline CVSS 7.4; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 7.4
- EG Score
- 7.4(medium)
- EPSS
- 53.1%
- KEV
- Not listed
Published
June 17, 2024
Last Modified
April 15, 2026
References (22)
- cna@pythonhttp://www.openwall.com/lists/oss-security/2024/06/17/2
- cna@pythonhttps://github.com/python/cpython/commit/01c37f1d0714f5822d34063ca7180b595abf589d
- cna@pythonhttps://github.com/python/cpython/commit/29c97287d205bf2f410f4895ebce3f43b5160524
- cna@pythonhttps://github.com/python/cpython/commit/37324b421b72b7bc9934e27aba85d48d4773002e
- cna@pythonhttps://github.com/python/cpython/commit/542f3272f56f31ed04e74c40635a913fbc12d286
- cna@pythonhttps://github.com/python/cpython/commit/b228655c227b2ca298a8ffac44d14ce3d22f6faa
- cna@pythonhttps://github.com/python/cpython/commit/bce693111bff906ccf9281c22371331aaff766ab
- cna@pythonhttps://github.com/python/cpython/issues/114572
- cna@pythonhttps://github.com/python/cpython/pull/114573
- cna@pythonhttps://mail.python.org/archives/list/security-announce@python.org/thread/BMAK5BCGKYWNJOACVUSLUF6SFGBIM4VP/
- af854a3a-2127-422b-91ae-364da2661108http://www.openwall.com/lists/oss-security/2024/06/17/2
- af854a3a-2127-422b-91ae-364da2661108https://github.com/python/cpython/commit/01c37f1d0714f5822d34063ca7180b595abf589d
- af854a3a-2127-422b-91ae-364da2661108https://github.com/python/cpython/commit/29c97287d205bf2f410f4895ebce3f43b5160524
- af854a3a-2127-422b-91ae-364da2661108https://github.com/python/cpython/commit/37324b421b72b7bc9934e27aba85d48d4773002e
- af854a3a-2127-422b-91ae-364da2661108https://github.com/python/cpython/commit/542f3272f56f31ed04e74c40635a913fbc12d286
Vendor Advisories for CVE-2024-0397(4)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- CVE-2024-0397Microsoft Security Response Center (MSRC)
CVE-2024-0397
- RHSA-2024:10983Red Hat Product SecurityMedium
Red Hat Security Advisory: python3.9:3.9.21 security update
- RHSA-2024:9190Red Hat Product SecurityMedium
Red Hat Security Advisory: python3.12 security update
- RHSA-2024:9192Red Hat Product SecurityMedium
Red Hat Security Advisory: python3.11 security update
Patch Availability(4)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | python3.10-venv (3.10.12-1~22.04.5) @ jammy | 2026-05-22 | ubuntu |
| redhat | python3.9-0:3.9.21-1.el9_5 | 2024-12-12 | redhat |
| redhat | python3.12-0:3.12.5-2.el9 | 2024-11-12 | redhat |
| redhat | python3.11-0:3.11.9-7.el9 | 2024-11-12 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(1)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
Data Freshness Timeline
(refreshed 11× in last 7d / 45× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 116 total refreshes for this CVE.
- 2026-07-22 14:07 UTCEPSS rescore
- 2026-07-22 14:07 UTCEPSS rescore
- 2026-07-21 15:23 UTCEPSS rescore
- 2026-07-20 17:06 UTCEPSS rescore
- 2026-07-19 14:30 UTCEPSS rescore
- 2026-07-19 14:29 UTCEPSS rescore
- 2026-07-19 02:27 UTCEPSS rescore
- 2026-07-19 02:27 UTCEPSS rescore
- 2026-07-18 10:03 UTCEPSS rescore
- 2026-07-18 10:03 UTCEPSS rescore
- 2026-07-16 17:01 UTCEPSS rescore
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-15 01:59 UTCEPSS rescore
- 2026-07-15 01:59 UTCEPSS rescore
- 2026-07-13 22:28 UTCEPSS rescore
- 2026-07-13 22:28 UTCEPSS rescore
- 2026-07-13 06:11 UTCEPSS rescore
- 2026-07-12 05:45 UTCEPSS rescore
- 2026-07-12 05:45 UTCEPSS rescore
- 2026-07-11 08:26 UTCEPSS rescore
- 2026-07-11 04:22 UTCOSV refresh
- 2026-07-09 19:08 UTCEPSS rescore
- 2026-07-08 15:13 UTCEPSS rescore
- 2026-07-07 13:45 UTCEPSS rescore
- 2026-07-07 13:44 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-07-06 16:26 UTCEPSS rescore
- 2026-07-06 16:26 UTCEPSS rescore
- 2026-07-06 02:22 UTCEPSS rescore
- 2026-07-06 02:22 UTCEPSS rescore
- 2026-07-05 02:29 UTCEPSS rescore
- 2026-07-04 06:29 UTCEPSS rescore
- 2026-07-01 15:05 UTCEPSS rescore
- 2026-06-30 23:21 UTCEPSS rescore
- 2026-06-30 23:21 UTCEPSS rescore
- 2026-06-29 14:05 UTCEPSS rescore
- 2026-06-28 14:06 UTCEPSS rescore
- 2026-06-28 14:06 UTCEPSS rescore
- 2026-06-28 04:55 UTCEPSS rescore
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-22 14:24 UTCEPSS rescore
- 2026-06-22 14:24 UTCEPSS rescore
- 2026-06-22 11:13 UTCOSV refresh
- 2026-06-21 14:55 UTCEPSS rescore
- 2026-06-21 14:55 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-19 19:24 UTCEPSS rescore
- 2026-06-19 19:24 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-17 17:51 UTCEPSS rescore
- 2026-06-16 17:51 UTCEPSS rescore
- 2026-06-16 17:51 UTCEPSS rescore
- 2026-06-15 17:47 UTCEPSS rescore
- 2026-06-14 23:16 UTCEPSS rescore
- 2026-06-13 22:59 UTCEPSS rescore
- 2026-06-13 22:59 UTCEPSS rescore
- 2026-06-12 23:11 UTCEPSS rescore
- 2026-06-11 13:59 UTCEPSS rescore
- 2026-06-10 22:17 UTCEPSS rescore
- 2026-06-10 13:21 UTCEPSS rescore
- 2026-06-08 14:16 UTCEPSS rescore
- 2026-06-08 14:16 UTCEPSS rescore
- 2026-06-07 15:24 UTCEPSS rescore
- 2026-06-07 15:24 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-04 16:39 UTCOSV refresh
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-02 20:12 UTCEPSS rescore
- 2026-06-02 20:12 UTCEPSS rescore
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-29 13:43 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-27 13:40 UTCEPSS rescore
- 2026-05-27 13:39 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 07:18 UTCEPSS rescore
- 2026-05-26 07:18 UTCEPSS rescore
- 2026-05-22 21:16 UTCEPSS rescore
- 2026-05-22 21:16 UTCEPSS rescore
- 2026-05-22 21:16 UTCEPSS rescore
- 2026-05-22 21:16 UTCEPSS rescore
- 2026-05-22 21:16 UTCEPSS rescore
Frequently asked(5)
What is CVE-2024-0397?
When was CVE-2024-0397 disclosed?
Is CVE-2024-0397 actively exploited?
What is the CVSS score of CVE-2024-0397?
How do I remediate CVE-2024-0397?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2024-0397
Is Your Infrastructure Affected by CVE-2024-0397?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.