CVE-2017-1000158
critical
CVSS v3
9.8
CVSS v2
7.5
VIR risk
9.8
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)
Predictions
Exploit likelihood
97%
Patch ETA
—
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2017-1000158
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2017-1000158.html
Vendor advisory: cve@mitre.org — https://bugs.python.org/issue30657
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| sles | affected | | |
| debian | 7.0 | affected | |
| debian | 8.0 | affected | |
| debian | 9.0 | affected | |
| debian | bullseye | fixed | 2.7.13-4 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| python | python | {"endExcluding":"2.7.15"} | 2.7.15 |
References
- http://www.securitytracker.com/id/1039890
- https://bugs.python.org/issue30657
- https://lists.debian.org/debian-lts-announce/2017/11/msg00035.html
- https://lists.debian.org/debian-lts-announce/2017/11/msg00036.html
- https://lists.debian.org/debian-lts-announce/2018/09/msg00030.html
- https://lists.debian.org/debian-lts-announce/2018/09/msg00031.html
- https://security.gentoo.org/glsa/201805-02
- https://security.netapp.com/advisory/ntap-20230216-0001/
- https://www.debian.org/security/2018/dsa-4307
- https://www.suse.com/security/cve/CVE-2017-1000158.html
- https://security-tracker.debian.org/tracker/CVE-2017-1000158
CWEs
CWE-190
Verify integrity in audit chain (admin only). AS-IS.