VDB

CISA-2024-3219

CISA-2024-3219 PUBLISHED CVSS 5.1 MEDIUM

Reported by PSF · Published July 29, 2024

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.

Risk Scores

CVSS 4.0
5.1
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

Affected Products

VendorProductVersions
Python Software FoundationCPython0, 3.9.0, 3.10.0
Python Software FoundationCPython0, 3.9.0, 3.11.0

Timeline

  • Jul 29, 2024 CVE Published
  • May 2, 2025 CVE Updated

References

Open in Interactive Console →
$ Console Community · 100/wk Open console ›