Name | CVE-2017-1000158 |
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) |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-1189-1, DLA-1190-1, DLA-1519-1, DLA-1520-1, DSA-4307-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
python2.7 (PTS) | jessie, jessie (lts) | 2.7.9-2-ds1-1+deb8u12 | fixed |
stretch (security) | 2.7.13-2+deb9u6 | fixed | |
stretch (lts), stretch | 2.7.13-2+deb9u9 | fixed | |
buster (security), buster, buster (lts) | 2.7.16-2+deb10u4 | fixed | |
bullseye | 2.7.18-8+deb11u1 | fixed | |
python3.4 (PTS) | jessie, jessie (lts) | 3.4.2-1+deb8u19 | fixed |
python3.5 (PTS) | stretch (security) | 3.5.3-1+deb9u5 | fixed |
stretch (lts), stretch | 3.5.3-1+deb9u11 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
python2.6 | source | wheezy | 2.6.8-1.1+deb7u1 | DLA-1190-1 | ||
python2.6 | source | (unstable) | (unfixed) | |||
python2.7 | source | wheezy | 2.7.3-6+deb7u4 | DLA-1189-1 | ||
python2.7 | source | jessie | 2.7.9-2+deb8u2 | DLA-1519-1 | ||
python2.7 | source | stretch | 2.7.13-2+deb9u2 | |||
python2.7 | source | (unstable) | 2.7.13-4 | |||
python3.4 | source | jessie | 3.4.2-1+deb8u1 | DLA-1520-1 | ||
python3.4 | source | (unstable) | (unfixed) | |||
python3.5 | source | stretch | 3.5.3-1+deb9u1 | DSA-4307-1 | ||
python3.5 | source | (unstable) | 3.5.5-1 |
https://bugs.python.org/issue30657
2.7 https://github.com/python/cpython/commit/c3c9db89273fabc62ea1b48389d9a3000c1c03ae (v2.7.14rc1)
3.4 https://github.com/python/cpython/commit/6c004b40f9d51872d848981ef1a18bb08c2dfc42 (v3.4.8rc1)
3.5 https://github.com/python/cpython/commit/fd8614c5c5466a14a945db5b059c10c0fb8f76d9 (v3.5.5rc1)
The 2.7.13-4 upload included the commit in debian/patches/git-updates.diff