p PatchFirst

CVE-2024-3219

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

Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.

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.

CVSS 5.1 · Moyenne · EPSS 0,2% · Correctif disponible

Publication
Mise à jour

Pile logicielle: python

Produits et versions concernés

  • python

    Versions du logiciel
    • ≥ 0, < 3.8.20: Concernée (python)
    • ≥ 3.9.0, < 3.9.20: Concernée (python)
    • ≥ 3.10.0, < 3.10.15: Concernée (python)
    • ≥ 3.11.0, < 3.11.10: Concernée (python)
    • ≥ 3.12.0, < 3.12.5: Concernée (python)
    • ≥ 3.13.0a1, < 3.13.0rc1: Concernée (python)

    Mettez à jour vers 3.10.15; Mettez à jour vers 3.11.10; Mettez à jour vers 3.12.5; Mettez à jour vers 3.13.0rc1; Mettez à jour vers 3.8.20; Mettez à jour vers 3.9.20

Sources originales

Vérifiez votre serveur →