CVE-2024-0397 - CVE House
Back to Database
Status published Unknown CVE-2024-0397

Memory race condition in ssl.SSLContext certificate store methods

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2024-0397

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Python Software Foundation

View all reports →

Affected Software

CPython
Vulnerable Versions:
0, 3.9.0, 3.10.0, 3.11.0, 3.12.0, 3.13.0a1

Timeline

Official Publish: June 17th, 2024
Last Modified: November 3rd, 2025
Added to House: July 22nd, 2026

CVSS Vectors

No vector data available

Weaknesses (CWE)

No CWE data available

MITRE ATT&CK TTPs

No associated TTPs found for this vulnerability.