Loading HuntDB...

GHSA-r8h6-cwxj-rv5j

GitHub Security Advisory

⚠ Unreviewed LOW Has CVE

Advisory Details

There is a MEDIUM severity vulnerability affecting CPython.

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.

Related CVEs

Key Information

GHSA ID
GHSA-r8h6-cwxj-rv5j
Published
July 30, 2024 12:34 AM
Last Modified
May 3, 2025 12:30 AM
CVSS Score
2.5 /10
Primary Ecosystem
Unknown
Primary Package
Unknown
GitHub Reviewed
✗ No

Dataset

Last updated: July 12, 2025 6:29 AM

Data from GitHub Advisory Database. This information is provided for research and educational purposes.