CVE-2016-5386

NameCVE-2016-5386
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium (attack range: remote)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
golang (PTS)wheezy2:1.0.2-1.1vulnerable
wheezy (security)2:1.0.2-1.1+deb7u1vulnerable
jessie2:1.3.3-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
golangsource(unstable)(unfixed)unimportant

Notes

No part of Go does set HTTP_PROXY based on a Proxy: header, 1.6.3 and 1.7
provide hardening to discard HTTP_PROXY

Search for package or bug name: Reporting problems