CVE-2025-13836
Vulnérabilité moyenne dans CPython (Python Software Foundation)
CVSS 6.3 · Moyenne
EPSS 1.6%
Python Software Foundation•CPython•Versions : <3.14.1, <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.13.11, <3.15.0a3
Description
When reading an HTTP response from a server, if no read amount is specified, the default behavior will be to use Content-Length. This allows a malicious server to cause the client to read large amounts of data into memory, potentially causing OOM or other DoS.
Gravité et risque d'exploitation
CVE-2025-13836 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 1.63 %, ce qui la place devant 75.9 % des CVE référencées.
Que faire ?
- Vérifiez si CPython (versions <3.14.1, <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.13.11, <3.15.0a3) 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/119451
- https://github.com/python/cpython/pull/119454
- https://github.com/python/cpython/commit/4ce27904b597c77d74dd93f2c912676021a99155
- https://github.com/python/cpython/commit/5a4c4a033a4a54481be6870aa1896fad732555b5
- https://mail.python.org/archives/list/security-announce@python.org/thread/OQ6G7MKRQIS3OAREC3HNG3D2DPOU34XO/
- https://github.com/python/cpython/commit/289f29b0fe38baf2d7cb5854f4bb573cc34a6a15
- https://github.com/python/cpython/commit/14b1fdb0a94b96f86fc7b86671ea9582b8676628
- https://github.com/python/cpython/commit/5dc101675fd22918facbbe0fecdc821502beaaf0
- https://github.com/python/cpython/commit/afc40bdd3dd71f343fd9016f6d8eebbacbd6587c
