Integer overflow in Python
CVE-2017-1000158
CPython (aka Python) up to 2.7.13 is vulnerable to an integer overflow in the PyString_DecodeEscape function in stringobject.c, resulting in heap-based buffer overflow (and possible arbitrary code execution)
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.079, 94.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Python
- Debian Linux — versions 7.0, 8.0, 9.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- [debian-lts-announce] 20171124 [SECURITY] [DLA 1189-1] python2.7 security update (mailing-list, Mailing List, Third Party Advisory)
- [debian-lts-announce] 20180926 [SECURITY] [DLA 1520-1] python3.4 security update (mailing-list, Mailing List, Third Party Advisory)
- bugs.python.org/issue30657 (Patch, Issue Tracking, Vendor Advisory)
- www.securitytracker.com/id/1039890 (Third Party Advisory, VDB Entry, vdb-entry)
- [debian-lts-announce] 20171124 [SECURITY] [DLA 1190-1] python2.6 security update (mailing-list, Mailing List, Third Party Advisory)
- DSA-4307 (vendor-advisory, Third Party Advisory)
- [debian-lts-announce] 20180925 [SECURITY] [DLA 1519-1] python2.7 security update (mailing-list, Mailing List, Third Party Advisory)
- GLSA-201805-02 (vendor-advisory, Third Party Advisory)
- security.netapp.com/advisory/ntap-20230216-0001/