CVE-2024-0397
Memory race condition in ssl.SSLContext certificate store methods
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.
- 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
06 References
- github.comhttps://github.com/python/cpython/issues/114572
- github.comhttps://github.com/python/cpython/pull/114573
- mail.python.orghttps://mail.python.org/archives/list/security-announce@python.org/thread/BMAK5BCGKYWNJOACVUSLUF6SFGBIM4VP/
- github.comhttps://github.com/python/cpython/commit/01c37f1d0714f5822d34063ca7180b595abf589d
- github.comhttps://github.com/python/cpython/commit/29c97287d205bf2f410f4895ebce3f43b5160524
- github.comhttps://github.com/python/cpython/commit/37324b421b72b7bc9934e27aba85d48d4773002e
- github.comhttps://github.com/python/cpython/commit/542f3272f56f31ed04e74c40635a913fbc12d286
- github.comhttps://github.com/python/cpython/commit/b228655c227b2ca298a8ffac44d14ce3d22f6faa
- github.comhttps://github.com/python/cpython/commit/bce693111bff906ccf9281c22371331aaff766ab
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2024/06/17/2
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20250411-0006/
- lists.debian.orghttps://lists.debian.org/debian-lts-announce/2024/12/msg00000.html
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.