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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.247% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:57:41.748Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 5.1 · published by PSFCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T12:57:10.897Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:57:41.748Z | CISA KEV |
| cvss | verified | 2026-11-19T12:57:10.897Z | CVE Program |
| epss | verified | 2026-11-19T16:04:38.218Z | FIRST EPSS |
| patches | unknown | unknown | unknown |
| affected | verified | 2026-11-19T12:57:10.897Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:57:10.897Z | CVE Program |
Affected versions and configuration
Python Software Foundation CPython (Windows); default status: unaffected: 0 to < 3.8.20 [affected; scheme: python]; 3.9.0 to < 3.9.20 [affected; scheme: python]; 3.10.0 to < 3.10.15 [affected; scheme: python]; 3.11.0 to < 3.11.10 [affected; scheme: python]; 3.12.0 to < 3.12.5 [affected; scheme: python]; 3.13.0a1 to < 3.13.0rc1 [affected; scheme: python]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
Ubuntu Security · ubuntu-package · full conditions
[
{
"name": "python3.11",
"debian": "https://tracker.debian.org/pkg/python3.11",
"source": "https://ubuntu.com/security/cve?package=python3.11",
"ubuntu": "https://packages.ubuntu.com/search?suite=all§ion=all&arch=any&searchon=sourcenames&keywords=python3.11",
"statuses": [
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "focal"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "noble"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "upstream"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "see notes",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "oracular"
}
]
}
]Archived source JSONUbuntu Security · ubuntu-package · full conditions
[
{
"name": "python3.12",
"debian": "https://tracker.debian.org/pkg/python3.12",
"source": "https://ubuntu.com/security/cve?package=python3.12",
"ubuntu": "https://packages.ubuntu.com/search?suite=all§ion=all&arch=any&searchon=sourcenames&keywords=python3.12",
"statuses": [
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "focal"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "upstream"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "see notes",
"release_codename": "noble"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "see notes",
"release_codename": "oracular"
}
]
}
]Archived source JSONUbuntu Security · ubuntu-package · full conditions
[
{
"name": "python3.10",
"debian": "https://tracker.debian.org/pkg/python3.10",
"source": "https://ubuntu.com/security/cve?package=python3.10",
"ubuntu": "https://packages.ubuntu.com/search?suite=all§ion=all&arch=any&searchon=sourcenames&keywords=python3.10",
"statuses": [
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "focal"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "noble"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "upstream"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "see notes",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "oracular"
}
]
}
]Archived source JSONCVE Program · cve-json · full conditions
{
"affected": [
{
"repo": "https://github.com/python/cpython",
"vendor": "Python Software Foundation",
"product": "CPython",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "3.8.20",
"versionType": "python"
},
{
"status": "affected",
"version": "3.9.0",
"lessThan": "3.9.20",
"versionType": "python"
},
{
"status": "affected",
"version": "3.10.0",
"lessThan": "3.10.15",
"versionType": "python"
},
{
"status": "affected",
"version": "3.11.0",
"lessThan": "3.11.10",
"versionType": "python"
},
{
"status": "affected",
"version": "3.12.0",
"lessThan": "3.12.5",
"versionType": "python"
},
{
"status": "affected",
"version": "3.13.0a1",
"lessThan": "3.13.0rc1",
"versionType": "python"
}
],
"platforms": [
"Windows"
],
"defaultStatus": "unaffected"
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2024-3219",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2024-07-31T18:45:03.016211Z"
}
}
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"type": "CWE",
"cweId": "CWE-306",
"description": "CWE-306 Missing Authentication for Critical Function"
}
]
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2024-11-04T21:44:46.150Z"
}
},
{
"title": "CVE Program Container",
"references": [
{
"url": "https://github.com/python/cpython/pull/122134",
"tags": [
"patch",
"x_transferred"
]
},
{
"url": "https://github.com/python/cpython/issues/122133",
"tags": [
"issue-tracking",
"x_transferred"
]
},
{
"url": "https://mail.python.org/archives/list/[email protected]/thread/WYKDQWIERRE2ICIYMSVRZJO33GSCWU2B/",
"tags": [
"vendor-advisory",
"x_transferred"
]
},
{
"url": "http://www.openwall.com/lists/oss-security/2024/07/29/3",
"tags": [
"x_transferred"
]
},
{
"url": "https://github.com/python/cpython/commit/06fa244666ec6335a3b9bf2367e31b42b9a89b20",
"tags": [
"patch",
"x_transferred"
]
},
{
"url": "https://github.com/python/cpython/commit/0b65c8bf5367625673eafb92f85046a1b31259f2",
"tags": [
"patch",
"x_transferred"
]
},
{
"url": "https://github.com/python/cpython/commit/220e31adeaaa8436c9ff234cba1398bc49e2bb6c",
"tags": [
"patch",
"x_transferred"
]
},
{
"url": "https://github.com/python/cpython/commit/5f90abaa786f994db3907fc31e2ee00ea2cf0929",
"tags": [
"patch",
"x_transferred"
]
},
{
"url": "https://github.com/python/cpython/commit/b252317956b7fc035bb3774ef6a177e227f9fc54",
"tags": [
"patch",
"x_transferred"
]
},
{
"url": "https://security.netapp.com/advisory/ntap-20250502-0004/"
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2025-05-02T23:02:58.327Z"
}
}
]
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
No correction has been verified in the connected records. This does not mean the system is secure or that no vendor correction exists.
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CVE ProgramConsulted: 2026-11-19T12:57:10.897ZArchived source JSON
Source publication: 2024-07-29T21:54:05.830Z
Source modification: 2025-05-02T23:02:58.327ZDocument fingerprint
ac879571d9c10df25dc6ab4ff2cf45430fd19d68b058aa2f525e69e1cbd32b93 - Ubuntu SecurityConsulted: 2026-11-19T16:56:49.111ZArchived source JSON
Source publication: 2024-07-29T22:15:00.000Z
Source modification: 2024-10-23T16:23:03.181ZDocument fingerprint
d0b4f0f3c58eb1d54bc58a7653225a4d83c2991a9222afcf2468287c324f7ee3 - Ubuntu SecurityConsulted: 2026-11-19T16:57:17.250ZArchived source JSON
Source publication: 2024-07-29T22:15:00.000Z
Source modification: 2024-10-23T16:23:03.181ZDocument fingerprint
9cd5740f6ee87b91c9dd35271e23a7383862dfa05eb16a6af456f24a4bdb5995 - Ubuntu SecurityConsulted: 2026-11-19T16:57:31.123ZArchived source JSON
Source publication: 2024-07-29T22:15:00.000Z
Source modification: 2024-10-23T16:23:03.181ZDocument fingerprint
c5ca5517f6283547c494a17b9b26fdba5781dae5a0e1c307f9becdc61bd39396 - CISA KEVConsulted: 2026-11-19T16:57:41.748ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:38.218ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
55a64ee9ca0f1d908a48c56be557bd1ef72d684d2b38b659335bfacedc0274cc
Official status history
- UNKNOWN → PUBLISHED · · evidence