CVE-2024-3219: Pure-Python fallback of socket.socketpair() doesn’t authenticate peer connection
Python Software Foundation · CPython
Vendor fix available · Affected: Python Software Foundation CPython · Exploitation: unlikely (under 1%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 16% of scored CVEs
DescriptionCVE.org
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.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- Python Software Foundation · CPythonbefore 3.8.20; from 3.9.0 before 3.9.20; from 3.10.0 before 3.10.15; from 3.11.0 before 3.11.10; from 3.12.0 before 3.12.5; from 3.13.0a1 before 3.13.0rc1
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Unlikely (under 1%). EPSS under 1%, or no score yet.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Published
- July 2024
- Bounty reports
- 1 disclosed on HackerOne
Disclosed bug bounty reports about CVE-2024-3219
The reports on HackerOne that name this CVE, with HackerOne's own outcome. Titles and metadata only.
- `Curl_socketpair()` fallback vulnerable to man-in-the-middle attackcurl · 2025Informative
CoverageNo articles yet
No CyberSIXT article names CVE-2024-3219 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-306cwe.mitre.org
- Patchgithub.com
- Vendor advisorymail.python.org
- Patchgithub.com
- Patchgithub.com
- Patchgithub.com
- Patchgithub.com
- Patchgithub.com
- Patchgithub.com
- Patchgithub.com
- Patchgithub.com
- Patchgithub.com
- Patchgithub.com
7 more references are in the CVE record.