Menu

Star on GitHub · 3.2k

CVE-2024-0397

7.4 · HIGH

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()”.

Published Jun 17, 2024CWE-362EPSS 0.81%

Overview

CVE-2024-0397 is a high-severity vulnerability. It was published on June 17, 2024 and has a CVSS 3.1 base score of 7.4 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.4, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

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

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2024-0397?

CVE-2024-0397 is a high-severity vulnerability. It was published on June 17, 2024 and has a CVSS 3.1 base score of 7.4 (HIGH).

How severe is CVE-2024-0397?

This vulnerability has a CVSS 3.1 base score of 7.4, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2024-0397?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-0397?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-0397 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2024

View all