Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-3219

published medium CVSS 4.0 · 5.1

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

Published
29 Jul 2024, 21:54:05 UTC
Updated
02 May 2025, 23:02:58 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Python Software Foundation — CPython0 to < 3.8.20 · 3.9.0 to < 3.9.20 · 3.10.0 to < 3.10.15 · 3.11.0 to < 3.11.10 · 3.12.0 to < 3.12.5 · 3.13.0a1 to < 3.13.0rc1 · Other versions: unaffected · Platforms: Windows Affected Not stated PSF
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

Description

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.

en · PSF · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
5.1 / 10
Severity
medium
Provider
PSF · cna
Vector string
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
Scenarios
en: GENERAL

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Python Software Foundation CPython 0 to < 3.8.20 (affected · python)3.9.0 to < 3.9.20 (affected · python)3.10.0 to < 3.10.15 (affected · python)3.11.0 to < 3.11.10 (affected · python)3.12.0 to < 3.12.5 (affected · python)3.13.0a1 to < 3.13.0rc1 (affected · python)Default: unaffected PSF · cna

Weaknesses

1
  • CWE-306 CWE-306 Missing Authentication for Critical Function (CISA-ADP · adp)

References

19

Provider assertions

3

PSF · cna

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

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
ac879571d9c10df25dc6ab4ff2cf45430fd19d68b058aa2f525e69e1cbd32b93
Ingested
23 Sep 2026, 08:25:33 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected