CVE-2025-13462
Vulnérabilité faible dans CPython (Python Software Foundation)
CVSS 2.0 · Faible
EPSS 0.2%
Python Software Foundation•CPython•Versions : <3.10.21, <3.14.4, 3.14.0, 3.11.0, 3.13.0, <3.13.13, 3.15.0a1, <3.15.0a8, 3.12.0, 0, <3.12.14, <3.11.16
Description
The "tarfile" module would still apply normalization of AREGTYPE (\x00) blocks to DIRTYPE, even while processing a multi-block member such as GNUTYPE_LONGNAME or GNUTYPE_LONGLINK. This could result in a crafted tar archive being misinterpreted by the tarfile module compared to other implementations.
Gravité et risque d'exploitation
CVE-2025-13462 obtient un score CVSS de 2.0/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.17 %, ce qui la place devant 5.6 % des CVE référencées.
Que faire ?
- Vérifiez si CPython (versions <3.10.21, <3.14.4, 3.14.0, 3.11.0, 3.13.0, <3.13.13, 3.15.0a1, <3.15.0a8, 3.12.0, 0, <3.12.14, <3.11.16) 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/pull/143934
- https://github.com/python/cpython/issues/141707
- https://mail.python.org/archives/list/security-announce@python.org/thread/EOMI5I66ZMKQ2INNFT6T7IAIKUGPZYIE/
- https://github.com/python/cpython/commit/42d754e34c06e57ad6b8e7f92f32af679912d8ab
- https://github.com/python/cpython/commit/7ad3093d76a748af55bdb1d2e8aad3638163b017
- https://github.com/python/cpython/commit/ae99fe3a33b43e303a05f012815cef60b611a9c7
- https://github.com/python/cpython/commit/72dde1016493c52abe857fc4a7bf6c40138b4114
- https://github.com/python/cpython/commit/9a23b753552afa28e3a2f4d8863572fc66479406
- https://github.com/python/cpython/commit/d10950739a78f54d0718d88fb5a868374603c084
