Name | CVE-2018-1061 |
Description | python before versions 2.7.15, 3.4.9, 3.5.6rc1, 3.6.5rc1 and 3.7.0 is vulnerable to catastrophic backtracking in the difflib.IS_LINE_JUNK method. An attacker could use this flaw to cause denial of service. |
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-1519-1, DLA-1520-1, DSA-4306-1, DSA-4307-1, ELA-47-1, ELA-48-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 | |
python3.7 (PTS) | buster, buster (lts) | 3.7.3-2+deb10u9 | fixed |
buster (security) | 3.7.3-2+deb10u7 | 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+deb7u2 | ELA-48-1 | ||
python2.6 | source | (unstable) | (unfixed) | low | ||
python2.7 | source | wheezy | 2.7.3-6+deb7u5 | ELA-47-1 | ||
python2.7 | source | jessie | 2.7.9-2+deb8u2 | DLA-1519-1 | ||
python2.7 | source | stretch | 2.7.13-2+deb9u3 | DSA-4306-1 | ||
python2.7 | source | (unstable) | 2.7.14-7 | low | ||
python3.2 | source | (unstable) | (unfixed) | low | ||
python3.4 | source | jessie | 3.4.2-1+deb8u1 | DLA-1520-1 | ||
python3.4 | source | (unstable) | (unfixed) | low | ||
python3.5 | source | stretch | 3.5.3-1+deb9u1 | DSA-4307-1 | ||
python3.5 | source | (unstable) | 3.5.6-1 | low | ||
python3.6 | source | (unstable) | 3.6.5~rc1-1 | low | ||
python3.7 | source | (unstable) | 3.7.0~b3-1 | low |
[wheezy] - python3.2 <no-dsa> (Minor issue)
[wheezy] - python2.7 <no-dsa> (Minor issue)
[wheezy] - python2.6 <no-dsa> (Minor issue)
https://bugs.python.org/issue32981
https://github.com/python/cpython/commit/0e6c8ee2358a2e23117501826c008842acb835ac (master)
https://github.com/python/cpython/commit/0902a2d6b2d1d9dbde36aeaaccf1788ceaa97143 (3.7)
https://github.com/python/cpython/commit/c9516754067d71fd7429a25ccfcb2141fc583523 (3.6)
https://github.com/python/cpython/commit/937ac1fe069a4dc8471dff205f553d82e724015b (3.5)
https://github.com/python/cpython/commit/942cc04ae44825ea120e3a19a80c9b348b8194d0 (3.4)
https://github.com/python/cpython/commit/e052d40cea15f582b50947f7d906b39744dc62a2 (2.7)