Name | CVE-2016-1000110 |
Description | The CGIHandler class in Python before 2.7.12 does not protect against the HTTP_PROXY variable name clash in a CGI script, which could allow a remote attacker to redirect HTTP requests. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | ELA-239-1 |
Vulnerable and fixed packages
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 | vulnerable |
| 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+deb8u18 | fixed |
python3.5 (PTS) | stretch (security) | 3.5.3-1+deb9u5 | fixed |
| stretch (lts), stretch | 3.5.3-1+deb9u10 | 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 | (unstable) | (unfixed) | unimportant | | |
python2.7 | source | (unstable) | 2.7.12-2 | unimportant | | |
python3.2 | source | (unstable) | (unfixed) | unimportant | | |
python3.4 | source | jessie | 3.4.2-1+deb8u8 | | ELA-239-1 | |
python3.4 | source | (unstable) | (unfixed) | unimportant | | |
python3.5 | source | (unstable) | 3.5.2-3 | unimportant | | |
Notes
https://bugs.python.org/issue27568
https://github.com/python/cpython/commit/436fe5a447abb69e5e5a4f453325c422af02dcaa (3.4)
No part of Python does set HTTP_PROXY based on a Proxy: header, the Python bug
just provides a hardening to discard HTTP_PROXY if it thinks a Python script is
running as a CGI script