Skip to content
OpenAdvisories
Unscored CVE-2016-5386 EUVD-2016-6336GHSA-9hq4-732f-9vgfGO-2022-0761

Improper input validation in net/http and net/http/cgi

Published Jul 19, 2016 · Updated Aug 6, 2024 · Assigned by redhat

Description

The net/http package in Go through 1.6 does not attempt to address RFC 3875 section 4.1.18 namespace conflicts and therefore does not protect CGI applications from the presence of untrusted client data in the HTTP_PROXY environment variable, which might allow remote attackers to redirect a CGI application's outbound HTTP traffic to an arbitrary proxy server via a crafted Proxy header in an HTTP request, aka an "httpoxy" issue.

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.

ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS golang-1.6 No fix yet —
ReleasePackageFixed inAdvisory
RHEL 7 golang +5 1.6.3-1.el7_2.1 RHSA-2016:1538
ReleasePackageFixed inAdvisory
SUSE Package Hub 12 go 1.6.1-6.1 openSUSE-SU-2016:2055-1, openSUSE-SU-2016:2054-1
SUSE Package Hub 12 go1.4 1.4.3-6.1 openSUSE-SU-2016:2536-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed go 1.17-1.1 openSUSE-SU-2024:10802-1
openSUSE Tumbleweed go1.10 1.10.8-8.2 openSUSE-SU-2024:10803-1
openSUSE Tumbleweed go1.11 1.11.13-10.5 openSUSE-SU-2024:10804-1
openSUSE Tumbleweed go1.12 1.12.17-4.8 openSUSE-SU-2024:10805-1
openSUSE Tumbleweed go1.4 1.4.3-12.2 openSUSE-SU-2024:10811-1
openSUSE Tumbleweed go1.9 1.9.7-11.2 openSUSE-SU-2024:10812-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 golang No fix yet —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 golang +5 1.6.3-1.el7_2.1 ELSA-2016-1538

Affected packages

EcosystemPackageAffectedFixedRecord
Go stdlib < 1.6.3 1.6.3 GO-2022-0761

Advisories 12

References