Name | CVE-2020-26116 |
Description | http.client in Python 3.x before 3.5.10, 3.6.x before 3.6.12, 3.7.x before 3.7.9, and 3.8.x before 3.8.5 allows CRLF injection if the attacker controls the HTTP request method, as demonstrated by inserting CR and LF control characters in the first argument of HTTPConnection.request. |
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-2456-1, DLA-3432-1, ELA-289-1, ELA-853-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
pypy3 (PTS) | buster | 7.0.0+dfsg-3 | vulnerable |
bullseye | 7.3.5+dfsg-2+deb11u2 | fixed | |
bullseye (security) | 7.3.5+dfsg-2+deb11u4 | fixed | |
bookworm | 7.3.11+dfsg-2+deb12u2 | fixed | |
sid, trixie | 7.3.17+dfsg-3 | fixed | |
python2.7 (PTS) | jessie, jessie (lts) | 2.7.9-2-ds1-1+deb8u12 | fixed |
stretch (security) | 2.7.13-2+deb9u6 | vulnerable | |
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 | vulnerable | |
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 | |
python3.9 (PTS) | bullseye | 3.9.2-1 | fixed |
bullseye (security) | 3.9.2-1+deb11u2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
pypy3 | source | buster | (unfixed) | end-of-life | ||
pypy3 | source | (unstable) | 7.3.3+dfsg-1 | |||
python2.7 | source | jessie | 2.7.9-2-ds1-1+deb8u10 | ELA-853-1 | ||
python2.7 | source | stretch | 2.7.13-2+deb9u7 | ELA-853-1 | ||
python2.7 | source | buster | 2.7.16-2+deb10u2 | DLA-3432-1 | ||
python2.7 | source | (unstable) | (unfixed) | |||
python3.4 | source | jessie | 3.4.2-1+deb8u9 | ELA-289-1 | ||
python3.5 | source | stretch | 3.5.3-1+deb9u3 | DLA-2456-1 | ||
python3.5 | source | (unstable) | (unfixed) | |||
python3.7 | source | buster | 3.7.3-2+deb10u3 | |||
python3.7 | source | (unstable) | (unfixed) | |||
python3.8 | source | (unstable) | 3.8.5-1 | |||
python3.9 | source | (unstable) | 3.9.0~b5-1 |
[bullseye] - python2.7 <ignored> (Unsupported in Bullseye, only included to build a few applications)
https://bugs.python.org/issue39603
https://python-security.readthedocs.io/vuln/http-header-injection-method.html
https://github.com/python/cpython/commit/8ca8a2e8fb068863c1138f07e3098478ef8be12e (master)
https://github.com/python/cpython/commit/27b811057ff5e93b68798e278c88358123efdc71 (v3.9.0b5)
https://github.com/python/cpython/commit/668d321476d974c4f51476b33aaca870272523bf (v3.8.5)
https://github.com/python/cpython/commit/ca75fec1ed358f7324272608ca952b2d8226d11a (v3.7.9)
https://github.com/python/cpython/commit/f02de961b9f19a5db0ead56305fe0057a78787ae (v3.6.12)
https://github.com/python/cpython/commit/524b8de630036a29ca340bc2ae6fd6dc7dda8f40 (v3.5.10)