synced 1 MIN AGO
01 Record

CVE-2024-0397

Memory race condition in ssl.SSLContext certificate store methods

HighPUBLISHEDCNA: PSF
CNA base score7.4 CVSS v3.xCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H

02 Description

Memory race condition in ssl.SSLContext certificate store methods

03 Exploitation and scoring

Exploitation
Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
SSVC decision
  • ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
  • AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
  • Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
CISA publishes the decision points, not a final SSVC decision. The decision also depends on mission and well-being impact, which is a property of your deployment rather than of the vulnerability.
EPSS probability
0.81% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 56.5% of scored records. A rank, not a probability.
NVD base score
7.4 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H
NVD analysis status
Deferred. NVD last modified this record on 2026-06-17.
Red Hat severity
Low. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2024-06-17 15:09Z2 YR AGO
Last updated
2025-11-03 21:50Z11 MO AGO
Reserved
2024-01-10
Assigning CNA
PSF
Record state
PUBLISHED
Severity
High (CVSS 7.4)
CNA CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H
Weaknesses
  • CWE-362Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')Class
Data version
5.2
Document digest
28a25f8892f5c8e828733663d8bdf5f975e46fe880675fa883c82b1cc44e6db3

05 Affected products

VendorProductVersionsPlatforms
Python Software FoundationCPython0 to < 3.8.20, 3.9.0 to < 3.9.20, 3.10.0 to < 3.10.14, 3.11.0 to < 3.11.9, 3.12.0 to < 3.12.3, 3.13.0a1 to < 3.13.0a5—
python_software_foundationcpython0 to < 3.8.20, 3.9.0 to < 3.9.20, 3.10.0 to < 3.10.14, 3.11.0 to < 3.11.9, 3.12.0 to < 3.12.3, 3.13.0a1 to < 3.13.0a5—

06 References

07 Fixed in

Debian 12

  • pypy3
    No fix yet
  • python3.11
    Fixed in 3.11.2-6+deb12u3

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 13

  • pypy3
    Fixed in 7.3.16+dfsg-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 14

  • pypy3
    Fixed in 7.3.16+dfsg-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 20.04 LTS

  • python3.8
    Fixed in 3.8.10-0ubuntu1~20.04.11

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 22.04 LTS

  • python3.10
    Fixed in 3.10.12-1~22.04.5

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 14.04 LTS

  • python2.7
    No fix yet
  • python3.4
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 16.04 LTS

  • python2.7
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 18.04 LTS

  • python2.7
    No fix yet
  • python3.6
    No fix yet
  • python3.7
    No fix yet
  • python3.8
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 20.04 LTS

  • python2.7
    No fix yet
  • python3.9
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 22.04 LTS

  • python2.7
    No fix yet
  • python3.11
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.