CVE-2024-0397

Memory race condition in ssl.SSLContext certificate store methods

High · published June 17, 2024

CVSS v3.1
7.4
EPSS
1%
Percentile
56.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.4 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00810 · 56.5th percentile
Published
2024-06-17T15:09Z
EPSS history
Timeline
  • 17 JUN 15:09Z
    Memory race condition in ssl.SSLContext certificate store methods
    cvelistv5