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 exe...
CriticalCVSS 9.8
EPSS 7.9%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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)
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/python2.7(Debian:11) | < 2.7.13-4 | 2.7.13-4 |
| python | < 2.7.15 | 2.7.15 |
| python | >= 3.4.0, < 3.4.8 | 3.4.8 |
| python | >= 3.5.0, < 3.5.5 | 3.5.5 |
| debian linux | = 7.0 | No fix listed |
| debian linux | = 8.0 | No fix listed |
| debian linux | = 9.0 | No fix listed |
| alpine/python(Alpine:v3.4) | < 2.7.14-r0 | 2.7.14-r0 |
| alpine/python2(Alpine:v3.5) | < 2.7.14-r0 | 2.7.14-r0 |
| alpine/python2(Alpine:v3.6) | < 2.7.14-r0 | 2.7.14-r0 |
References
- security-tracker.debian.org vendor-advisory
- security.alpinelinux.org vendor-advisory
- [debian-lts-announce] 20171124 [SECURITY] [DLA 1189-1] python2.7 security update mailing-list third-party-advisory
- [debian-lts-announce] 20180926 [SECURITY] [DLA 1520-1] python3.4 security update mailing-list third-party-advisory
- bugs.python.org issue-tracking patch vendor-advisory
- 1039890 third-party-advisory vdb-entry
- [debian-lts-announce] 20171124 [SECURITY] [DLA 1190-1] python2.6 security update mailing-list third-party-advisory
- DSA-4307 third-party-advisory vendor-advisory
- [debian-lts-announce] 20180925 [SECURITY] [DLA 1519-1] python2.7 security update mailing-list third-party-advisory
- GLSA-201805-02 third-party-advisory vendor-advisory
- security.netapp.com