CVE-2024-11168
Vulnérabilité moyenne dans CPython (Python Software Foundation)
CVSS 6.3 · Moyenne
EPSS 0.7%
Python Software Foundation•CPython•Versions : <3.10.16, <3.12.0b1, 3.11.0, <3.9.21, 0, 3.10.0, <3.11.4, 3.12.0a1
Description
The urllib.parse.urlsplit() and urlparse() functions improperly validated bracketed hosts (`[]`), allowing hosts that weren't IPv6 or IPvFuture. This behavior was not conformant to RFC 3986 and potentially enabled SSRF if a URL is processed by more than one URL parser.
Gravité et risque d'exploitation
CVE-2024-11168 obtient un score CVSS de 6.3/10, soit une gravité moyenne. Selon le modèle EPSS, la probabilité qu'elle soit exploitée dans les 30 prochains jours est de 0.66 %, ce qui la place devant 50.5 % des CVE référencées.
Que faire ?
- Vérifiez si CPython (versions <3.10.16, <3.12.0b1, 3.11.0, <3.9.21, 0, 3.10.0, <3.11.4, 3.12.0a1) est présent sur votre parc.
- Appliquez le correctif ou la version corrigée indiqués dans les références de l'éditeur.
- À défaut de correctif, limitez l'exposition (filtrage réseau, désactivation du composant).
- Automatisez la détection : les agents CVE Heimdall (gratuits, open source) corrèlent l'inventaire de vos serveurs avec la base CVE.
Références
- https://github.com/python/cpython/commit/29f348e232e82938ba2165843c448c2b291504c5
- https://github.com/python/cpython/pull/103849
- https://github.com/python/cpython/issues/103848
- https://mail.python.org/archives/list/security-announce@python.org/thread/XPWB6XVZ5G5KGEI63M4AWLIEUF5BPH4T/
- https://github.com/python/cpython/commit/b2171a2fd41416cf68afd67460578631d755a550
- https://github.com/python/cpython/commit/634ded45545ce8cbd6fd5d49785613dd7fa9b89e
- https://github.com/python/cpython/commit/ddca2953191c67a12b1f19d6bca41016c6ae7132
