CVE-2024-0397
Public on 2024-06-17
Modified on 2024-06-19
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.
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.
Severity
CVSS v3 Base Score
See breakdown
Affected Packages
Platform | Package | Release Date | Advisory | Status |
---|---|---|---|---|
Amazon Linux 2 - Core | python3 | 2025-02-12 | ALAS2-2025-2766 | Fixed |
Amazon Linux 2023 | python3.11 | 2024-12-05 | ALAS2023-2024-788 | Fixed |
Amazon Linux 2023 | python3.9 | 2024-08-01 | ALAS2023-2024-699 | Fixed |
Amazon Linux 1 | python35 | No Fix Planned | ||
Amazon Linux 1 | python36 | No Fix Planned | ||
Amazon Linux 2 - Python3.8 Extra | python38 | 2024-11-08 | ALAS2PYTHON3.8-2024-016 | Fixed |
CVSS Scores
Score Type | Score | Vector | |
---|---|---|---|
Amazon Linux | CVSSv3 | 4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L |
NVD | CVSSv3 | 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H |