CVE-2024-3219 | Pure-Python fallback of socket.socketpair() doesn’t authenticate peer connection

The “socket” module provides a pure-Python fallback to the socket.socketpair() function for platforms that don’t support AF_UNIX, such as Windows. This pure-Python implementation uses AF_INET or AF_INET6 to create a local connected pair of sockets. The connection between the two sockets was not verified before passing the two sockets back to the user, which leaves the server socket vulnerable to a connection race from a malicious local peer. Platforms that support AF_UNIX such as Linux and macOS are not affected by this vulnerability. Versions prior to CPython 3.5 are not affected due to the vulnerable API not being included.

Published: 2024-07-29 Last update: 2026-06-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2024-3219 is rated Low Risk (26/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.24%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2024-3219

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.06% 0.24% +0.18%
2 2025-12-18 0.04% 0.06% +0.02%
3 2025-11-21 0.04%

Full EPSS history (9 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2024-3219

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
5.1 4.0 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Click to expand
Attack vector (AV:L)
Attacker needs local access on the target system.
Attack complexity (AC:L)
Exploitation conditions are straightforward and stable.
Attack requirements (AT:N)
No additional preconditions are required beyond normal reachability.
Privileges required (PR:N)
No privileges are required.
User interaction (UI:N)
No user interaction is required.
Vulnerable system confidentiality impact (VC:L)
Limited confidentiality impact on the vulnerable system.
Vulnerable system integrity impact (VI:N)
No integrity impact on the vulnerable system.
Vulnerable system availability impact (VA:N)
No availability impact on the vulnerable system.
Subsequent system confidentiality impact (SC:N)
No confidentiality impact on subsequent systems.
Subsequent system integrity impact (SI:N)
No integrity impact on subsequent systems.
Subsequent system availability impact (SA:N)
No availability impact on subsequent systems.
Exploit maturity (threat) (E:X)
Not defined: no reliable threat intelligence; scoring assumes the worst case (equivalent to Attacked).
Confidentiality requirement (CR:X)
Not defined: insufficient information; scoring treats this like High (worst case).
Integrity requirement (IR:X)
Not defined: insufficient information; scoring treats this like High (worst case).
Availability requirement (AR:X)
Not defined: insufficient information; scoring treats this like High (worst case).
Modified attack vector (MAV:X)
Not defined: scoring uses the Base Attack Vector (AV).
Modified attack complexity (MAC:X)
Not defined: scoring uses the Base Attack Complexity (AC).
Modified attack requirements (MAT:X)
Not defined: scoring uses the Base Attack Requirements (AT).
Modified privileges required (MPR:X)
Not defined: scoring uses the Base Privileges Required (PR).
Modified user interaction (MUI:X)
Not defined: scoring uses the Base User Interaction (UI).
Modified vulnerable system confidentiality impact (MVC:X)
Not defined: scoring uses the Base VC metric.
Modified vulnerable system integrity impact (MVI:X)
Not defined: scoring uses the Base VI metric.
Modified vulnerable system availability impact (MVA:X)
Not defined: scoring uses the Base VA metric.
Modified subsequent system confidentiality impact (MSC:X)
Not defined: scoring uses the Base SC metric.
Modified subsequent system integrity impact (MSI:X)
Not defined: scoring uses the Base SI metric.
Modified subsequent system availability impact (MSA:X)
Not defined: scoring uses the Base SA metric.
Safety (supplemental) (S:X)
Not evaluated.
Automatable (supplemental) (AU:X)
Not evaluated.
Recovery (supplemental) (R:X)
Not evaluated.
Value density (supplemental) (V:X)
Not evaluated.
Vulnerability response effort (supplemental) (RE:X)
Not evaluated.
Provider urgency (supplemental) (U:X)
Not evaluated.
[email protected]

Weakness enumeration for CVE-2024-3219

OS Trackers for CVE-2024-3219

vendor priority summary link
debian unimportant CVE-2024-3219 unimportant priority: Debian including 4 source packages (python2.7, python3.11, python3.13, python3.9), 6 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 6. https://security-tracker.debian.org/tracker/CVE-2024-3219
suse high CVE-2024-3219 severity important: SUSE including 38 source package names (python, python-32bit, …), 327 product×package rows across 44 product lines (SUSE Enterprise Storage 7.1, SUSE Linux Enterprise High Performance Computing 12 SP5, … (44 product lines)): Known Not Affected 327. https://www.suse.com/security/cve/CVE-2024-3219/
ubuntu medium CVE-2024-3219 medium priority: Ubuntu including 10 source packages (python2.7, python3.10, …), 59 status rows across 8 suites (bionic, focal, jammy, noble, oracular, trusty, upstream, xenial): DNE 32, not-affected 17, needs-triage 10. https://ubuntu.com/security/CVE-2024-3219

Affected software / configurations for CVE-2024-3219

Vendor Product Version Raw CPE
No affected products in dataset.

References for CVE-2024-3219

URL Tags
http://www.openwall.com/lists/oss-security/2024/07/29/3
https://github.com/python/cpython/commit/06fa244666ec6335a3b9bf2367e31b42b9a89b20
https://github.com/python/cpython/commit/0b65c8bf5367625673eafb92f85046a1b31259f2
https://github.com/python/cpython/commit/220e31adeaaa8436c9ff234cba1398bc49e2bb6c
https://github.com/python/cpython/commit/2621a8a40ba4b2c68ca564671b7daa5da80a4508
https://github.com/python/cpython/commit/31302f5fc24eecd693f0c8aaba7c2840b09b594d
https://github.com/python/cpython/commit/3f5d9d12c74787fbf3f5891835c85cc15526c86d
https://github.com/python/cpython/commit/5df322e91a40909e6904bbdbc0c3a6b6a9eead39
https://github.com/python/cpython/commit/5f90abaa786f994db3907fc31e2ee00ea2cf0929
https://github.com/python/cpython/commit/78df1043dbdce5c989600616f9f87b4ee72944e5
https://github.com/python/cpython/commit/b252317956b7fc035bb3774ef6a177e227f9fc54
https://github.com/python/cpython/commit/c21a36112a0028d7ac3cf8f480e0dc88dba5922c
https://github.com/python/cpython/commit/c5655aa6ad120d2ed7f255bebd6e8b71a9c07dde
https://github.com/python/cpython/commit/e319f774f9e766a2b92949444a2d46081df3363a
https://github.com/python/cpython/commit/f071f01b7b7e19d7d6b3a4b0ec62f820ecb14660
https://github.com/python/cpython/issues/122133
https://github.com/python/cpython/pull/122134
https://mail.python.org/archives/list/[email protected]/thread/WYKDQWIERRE2ICIYMSVRZJO33GSCWU2B/
https://security.netapp.com/advisory/ntap-20250502-0004/
cvelogic Threat Intelligence