CVE-2024-0397

Memory race condition in ssl.SSLContext certificate store methods

En bref

Sévérité
HIGH 7.4
EPSS
EPSS 0.81 % · centile 57 (2026-10-27)
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
PSF
Statut NVD
Deferred

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.

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.4CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:HCISA-ADP
CVSS 3.1HIGH 7.4CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

Faiblesses (CWE)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Python Software Foundation · CPythonaffected 0 < 3.8.20 ; affected 3.9.0 < 3.9.20 ; affected 3.10.0 < 3.10.14 ; affected 3.11.0 < 3.11.9 ; affected 3.12.0 < 3.12.3 ; affected 3.13.0a1 < 3.13.0a5

Références

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD