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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 11 | python2.7 | 2.7.12-2 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | python2.7 | 2.7.12-1ubuntu0~16.04.1 | USN-3134-1 |
| Ubuntu 16.04 LTS | python3.5 | 3.5.2-2ubuntu0~16.04.1 | USN-3134-1 |
| Ubuntu 14.04 LTS | python2.7 | 2.7.6-8ubuntu0.3 | USN-3134-1 |
| Ubuntu 14.04 LTS | python3.4 | 3.4.3-1ubuntu1~14.04.5 | USN-3134-1 |
| Ubuntu 14.04 LTS | python3.5 | 3.5.2-2ubuntu0~16.04.4~14.04.1 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | python +6 | 2.7.5-38.el7_2 | RHSA-2016:1626 |
| RHEL 6 | python +5 | 2.6.6-66.el6_8 | RHSA-2016:1626 |
| RHEL 2 | python27-python +6 | 2.7.8-16.el7 | RHSA-2016:1628 |
| RHEL 2 | python33-python +6 | 3.3.2-16.el7 | RHSA-2016:1629 |
| RHEL 2 | rh-python34-python +6 | 3.4.2-13.el7 | RHSA-2016:1630 |
| RHEL 2 | rh-python35-python +6 | 3.5.1-9.el7 | RHSA-2016:1627 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP1 | python | 2.7.17-7.32.2 | SUSE-SU-2020:0234-1 |
| SLES 15 SP1 | python-base | 2.7.17-7.32.1 | SUSE-SU-2020:0234-1 |
| SLES 15 SP1 | python3 +1 | 3.6.10-3.42.2 | SUSE-SU-2020:0114-1 |
| SLES 15 | python | 2.7.17-7.32.2 | SUSE-SU-2020:0234-1 |
| SLES 15 | python-base | 2.7.17-7.32.1 | SUSE-SU-2020:0234-1 |
| SLES 15 | python3 +1 | 3.6.10-3.42.2 | SUSE-SU-2020:0114-1 |
| SLES 12 SP2 | python3 +1 | 3.4.5-19.1 | SUSE-SU-2016:2859-1 |
| SLES 12 SP1 | python | 2.7.9-24.1 | SUSE-SU-2016:2106-1 |
| SLES 12 SP1 | python-base | 2.7.9-24.2 | SUSE-SU-2016:2106-1 |
| SLES 12 SP1 | python-doc | 2.7.9-24.4 | SUSE-SU-2016:2106-1 |
| SLES 12 SP1 | python3 +1 | 3.4.5-17.1 | SUSE-SU-2016:2653-1 |
| SLES 12 | python | 2.7.9-16.7.1 | SUSE-SU-2019:0223-1 |
| SLES 12 | python-doc +1 | 2.7.9-16.7.2 | SUSE-SU-2019:0223-1 |
| SLES 12 | python3 +1 | 3.4.5-17.1 | SUSE-SU-2016:2653-1 |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 11 SP4 | python +1 | 2.6.9-39.1 | SUSE-SU-2016:2270-1 |
| SLES 11 SP4 | python-doc | 2.6-8.39.1 | SUSE-SU-2016:2270-1 |
| SLES 2 | python | 2.7.17-7.32.2 | SUSE-SU-2020:0234-1 |
| SLES 2 | python-base | 2.7.17-7.32.1 | SUSE-SU-2020:0234-1 |
| SLES for SAP 12 SP2 | python3 +1 | 3.4.5-19.1 | SUSE-SU-2016:2859-1 |
| SLES for SAP 12 SP1 | python | 2.7.9-24.1 | SUSE-SU-2016:2106-1 |
| SLES for SAP 12 SP1 | python-base | 2.7.9-24.2 | SUSE-SU-2016:2106-1 |
| SLES for SAP 12 SP1 | python-doc | 2.7.9-24.4 | SUSE-SU-2016:2106-1 |
| SLES for SAP 12 SP1 | python3 +1 | 3.4.5-17.1 | SUSE-SU-2016:2653-1 |
| SLES for SAP 11 SP4 | python +1 | 2.6.9-39.1 | SUSE-SU-2016:2270-1 |
| SLES for SAP 11 SP4 | python-doc | 2.6-8.39.1 | SUSE-SU-2016:2270-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python | 2.7.18-8.1 | openSUSE-SU-2024:11202-1 |
| openSUSE Tumbleweed | python36 | 3.6.15-1.1 | openSUSE-SU-2024:11284-1 |
| openSUSE Leap 15.1 | python3 +1 | 3.6.10-lp151.6.7.1 | openSUSE-SU-2020:0086-1 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | python +6 | 2.7.5-38.0.1.el7_2 | ELSA-2016-1626 |
Advisories 18
- RHSA-2016:1630 Red Hat Security Advisory: rh-python34-python security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2016:1629 Red Hat Security Advisory: python33-python security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2016:1627 Red Hat Security Advisory: rh-python35-python security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2016:1628 Red Hat Security Advisory: python27-python security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2016:1626 Red Hat Security Advisory: python security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- USN-3134-1 python2.7, python3.2, python3.4, python3.5 vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- openSUSE-SU-2020:0086-1 Security update for python3 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:2106-1 Security update for python SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:0223-1 Security update for python SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:0114-1 Security update for python3 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:2653-1 Security update for python3 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11284-1 python36-3.6.15-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:2270-1 Security update for python SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:2859-1 Security update for python3 SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2025-2522 Mehrere Webserver: Schwachstelle ermöglicht Umgehen von Sicherheitsvorkehrungen BSI CERT-Bund (WID) · Nov 10, 2025
- openSUSE-SU-2024:11202-1 python-2.7.18-8.1 on GA media SUSE / openSUSE Security Updates · May 7, 2025
- SUSE-SU-2020:0234-1 Security update for python SUSE / openSUSE Security Updates · May 2, 2025
- ELSA-2016-1626 Moderate: python security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Aug 18, 2016
References
- https://security-tracker.debian.org/tracker/CVE-2016-1000110
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-1000110
- https://bugzilla.suse.com/show_bug.cgi?id=CVE-2016-1000110
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7K3WFJO3SJQCODKRKU6EQV3ZGHH53YPU/
- openSUSE-SU-2020:0086 vendor-advisory