{"schemaVersion":3,"id":"CVE-2024-3219","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"The\n “socket” module provides a pure-Python fallback to the\nsocket.socketpair() function for platforms that don’t support AF_UNIX,\nsuch as Windows. This pure-Python implementation uses AF_INET or\nAF_INET6 to create a local connected pair of sockets. The connection\nbetween the two sockets was not verified before passing the two sockets\nback to the user, which leaves the server socket vulnerable to a\nconnection race from a malicious local peer.\n\nPlatforms 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.","dates":{"published":"2024-07-29T21:54:05.830Z","modified":"2025-05-02T23:02:58.327Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.1,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":5.1,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":5.1,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00247,"percentile":0.14917,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.00247},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00247,"percentile":0.14917}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00247,"percentile":0.14917}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-306","name":"Missing Authentication for Critical Function","description":"The product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/306.html"}],"affected":[{"vendor":"python software foundation","product":"cpython","name":"CPython","label":"cpython","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 3.8.20","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.9.0, < 3.9.20","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.10.0, < 3.10.15","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.11.0, < 3.11.10","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.12.0, < 3.12.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.13.0a1, < 3.13.0rc1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.8.20 | ≥ 3.9.0, < 3.9.20 | ≥ 3.10.0, < 3.10.15 | ≥ 3.11.0, < 3.11.10 | ≥ 3.12.0, < 3.12.5 | ≥ 3.13.0a1, < 3.13.0rc1","eol":null,"hubHref":"/vendor/python_software_foundation/cpython"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/python/cpython/pull/122134","label":"github.com/python/cpython/pull/122134","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/python/cpython/issues/122133","label":"github.com/python/cpython/issues/122133","hostname":"github.com","tags":["Issue Tracking"]},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/WYKDQWIERRE2ICIYMSVRZJO33GSCWU2B/","label":"mail.python.org/archives/list/security-announce@python.org/thread/WYKDQWIERRE2ICIYMSVRZJO33GSCWU2B/","hostname":"mail.python.org","tags":["Vendor Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2024/07/29/3","label":"www.openwall.com/lists/oss-security/2024/07/29/3","hostname":"www.openwall.com","tags":[]},{"url":"https://github.com/python/cpython/commit/06fa244666ec6335a3b9bf2367e31b42b9a89b20","label":"github.com/python/cpython/commit/06fa244666ec6335a3b9bf2367e31b42b9a89b20","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/python/cpython/commit/0b65c8bf5367625673eafb92f85046a1b31259f2","label":"github.com/python/cpython/commit/0b65c8bf5367625673eafb92f85046a1b31259f2","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/python/cpython/commit/220e31adeaaa8436c9ff234cba1398bc49e2bb6c","label":"github.com/python/cpython/commit/220e31adeaaa8436c9ff234cba1398bc49e2bb6c","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/python/cpython/commit/5f90abaa786f994db3907fc31e2ee00ea2cf0929","label":"github.com/python/cpython/commit/5f90abaa786f994db3907fc31e2ee00ea2cf0929","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/python/cpython/commit/b252317956b7fc035bb3774ef6a177e227f9fc54","label":"github.com/python/cpython/commit/b252317956b7fc035bb3774ef6a177e227f9fc54","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/python/cpython/commit/2621a8a40ba4b2c68ca564671b7daa5da80a4508","label":"github.com/python/cpython/commit/2621a8a40ba4b2c68ca564671b7daa5da80a4508","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/python/cpython/commit/5df322e91a40909e6904bbdbc0c3a6b6a9eead39","label":"github.com/python/cpython/commit/5df322e91a40909e6904bbdbc0c3a6b6a9eead39","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/python/cpython/commit/c21a36112a0028d7ac3cf8f480e0dc88dba5922c","label":"github.com/python/cpython/commit/c21a36112a0028d7ac3cf8f480e0dc88dba5922c","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/python/cpython/commit/f071f01b7b7e19d7d6b3a4b0ec62f820ecb14660","label":"github.com/python/cpython/commit/f071f01b7b7e19d7d6b3a4b0ec62f820ecb14660","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/python/cpython/commit/31302f5fc24eecd693f0c8aaba7c2840b09b594d","label":"github.com/python/cpython/commit/31302f5fc24eecd693f0c8aaba7c2840b09b594d","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/python/cpython/commit/3f5d9d12c74787fbf3f5891835c85cc15526c86d","label":"github.com/python/cpython/commit/3f5d9d12c74787fbf3f5891835c85cc15526c86d","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/python/cpython/commit/c5655aa6ad120d2ed7f255bebd6e8b71a9c07dde","label":"github.com/python/cpython/commit/c5655aa6ad120d2ed7f255bebd6e8b71a9c07dde","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/python/cpython/commit/e319f774f9e766a2b92949444a2d46081df3363a","label":"github.com/python/cpython/commit/e319f774f9e766a2b92949444a2d46081df3363a","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/python/cpython/commit/78df1043dbdce5c989600616f9f87b4ee72944e5","label":"github.com/python/cpython/commit/78df1043dbdce5c989600616f9f87b4ee72944e5","hostname":"github.com","tags":["Patch"]},{"url":"https://security.netapp.com/advisory/ntap-20250502-0004/","label":"security.netapp.com/advisory/ntap-20250502-0004/","hostname":"security.netapp.com","tags":[]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2024-07-29T21:54:05.830Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-05-02T23:02:58.327Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":20,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T14:03:34.911Z","stale":false,"partial":false}}