ADVISORIES

Vulnerability

CVE-2024-3219

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.

5 advisories report this vulnerability, across 2 ecosystems.

Medium severity All openEuler 4Python 1

Advisories

  • CNA-CVE-2024-3219

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

    CVE-2024-3219 Python Updated 2 May 2025
  • OESA-2024-2190

    python3 security update

    High CVE-2023-6597CVE-2024-0450CVE-2024-3219CVE-2024-6232 openEuler Updated 18 August 2026
  • OESA-2024-2191

    python3 security update

    High CVE-2023-6597CVE-2024-0450CVE-2024-3219CVE-2024-6232 openEuler Updated 18 August 2026
  • OESA-2024-2192

    python3 security update

    High CVE-2023-6597CVE-2024-3219CVE-2024-6232 openEuler Updated 18 August 2026
  • OESA-2024-2193

    python3 security update

    High CVE-2023-6597CVE-2024-0450CVE-2024-3219CVE-2024-6232 openEuler Updated 18 August 2026

References