CVE-2025-6075
Vulnérabilité faible dans CPython (Python Software Foundation)
CVSS 1.8 · Faible
EPSS 0.1%
Python Software Foundation•CPython•Versions : <3.14.1, <3.13.10, <3.10.20, 3.14.0, 3.11.0, 3.13.0, <3.12.13, 3.15.0a1, <3.11.15, 3.12.0, 0, <3.15.0a2, 3.10.0, <3.9.25
Description
If the value passed to os.path.expandvars() is user-controlled a performance degradation is possible when expanding environment variables.
Gravité et risque d'exploitation
CVE-2025-6075 obtient un score CVSS de 1.8/10, soit une gravité faible. Selon le modèle EPSS, la probabilité qu'elle soit exploitée dans les 30 prochains jours est de 0.15 %, ce qui la place devant 3.7 % des CVE référencées.
Que faire ?
- Vérifiez si CPython (versions <3.14.1, <3.13.10, <3.10.20, 3.14.0, 3.11.0, 3.13.0, <3.12.13, 3.15.0a1, <3.11.15, 3.12.0, 0, <3.15.0a2, 3.10.0, <3.9.25) 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/issues/136065
- https://mail.python.org/archives/list/security-announce@python.org/thread/IUP5QJ6D4KK6ULHOMPC7DPNKRYQTQNLA/
- https://github.com/python/cpython/commit/2e6150adccaaf5bd95d4c19dfd04a36e0b325d8c
- https://github.com/python/cpython/commit/631ba3407e3348ccd56ce5160c4fb2c5dc5f4d84
- https://github.com/python/cpython/commit/892747b4cf0f95ba8beb51c0d0658bfaa381ebca
- https://github.com/python/cpython/commit/9ab89c026aa9611c4b0b67c288b8303a480fe742
- https://github.com/python/cpython/commit/c8a5f3435c342964e0a432cc9fb448b7dbecd1ba
- https://github.com/python/cpython/commit/f029e8db626ddc6e3a3beea4eff511a71aaceb5c
- https://github.com/python/cpython/commit/5dceb93486176e6b4a6d9754491005113eb23427
