CVE-2016-5386
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.
What to do
Fixed builds are available from Go, Red Hat: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | golang-1.6 | Fix pending | UBUNTU-CVE-2016-5386 | |
| Ubuntu 14.04 | golang | Fix pending | ||
| Ubuntu 14.04 | golang-1.6 | Fix pending | ||
| Red Hat Enterprise Linux 7 | compat-sap-c++-5 | Not affected | ||
| Red Hat Enterprise Linux 7 | cpp | Not affected | ||
| Red Hat Enterprise Linux 7 | gcc | Not affected | ||
| Red Hat Enterprise Linux 7 | gcc-c++ | Not affected | ||
| Red Hat Enterprise Linux 7 | gcc-gfortran | Not affected | ||
| Red Hat Enterprise Linux 7 | gcc-gnat | Not affected | ||
| Red Hat Enterprise Linux 7 | gcc-go | Not affected | ||
| Red Hat Enterprise Linux 7 | gcc-objc | Not affected | ||
| Red Hat Enterprise Linux 7 | gcc-objc++ | Not affected | ||
| Red Hat Enterprise Linux 7 | gcc-plugin-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | golang | Fixed | 0:1.6.3-1.el7_2.1 | RHSA-2016:1538 |
| Red Hat Enterprise Linux 7 | golang-bin | Fixed | 0:1.6.3-1.el7_2.1 | RHSA-2016:1538 |
| Red Hat Enterprise Linux 7 | golang-docs | Fixed | 0:1.6.3-1.el7_2.1 | RHSA-2016:1538 |
| Red Hat Enterprise Linux 7 | golang-misc | Fixed | 0:1.6.3-1.el7_2.1 | RHSA-2016:1538 |
| Red Hat Enterprise Linux 7 | golang-src | Fixed | 0:1.6.3-1.el7_2.1 | RHSA-2016:1538 |
| Red Hat Enterprise Linux 7 | golang-tests | Fixed | 0:1.6.3-1.el7_2.1 | RHSA-2016:1538 |
| Red Hat Enterprise Linux 7 | libasan | Not affected | ||
| Red Hat Enterprise Linux 7 | libasan-static | Not affected | ||
| Red Hat Enterprise Linux 7 | libatomic | Not affected | ||
| Red Hat Enterprise Linux 7 | libatomic-static | Not affected | ||
| Red Hat Enterprise Linux 7 | libcilkrts | Not affected | ||
| Red Hat Enterprise Linux 7 | libgcc | Not affected | ||
| Red Hat Enterprise Linux 7 | libgfortran | Not affected | ||
| Red Hat Enterprise Linux 7 | libgfortran-static | Not affected | ||
| Red Hat Enterprise Linux 7 | libgfortran4 | Not affected | ||
| Red Hat Enterprise Linux 7 | libgfortran5 | Not affected | ||
| Red Hat Enterprise Linux 7 | libgnat | Not affected | ||
| Red Hat Enterprise Linux 7 | libgnat-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | libgnat-static | Not affected | ||
| Red Hat Enterprise Linux 7 | libgo | Not affected | ||
| Red Hat Enterprise Linux 7 | libgo-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | libgo-static | Not affected | ||
| Red Hat Enterprise Linux 7 | libgomp | Not affected | ||
| Red Hat Enterprise Linux 7 | libitm | Not affected | ||
| Red Hat Enterprise Linux 7 | libitm-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | libitm-static | Not affected | ||
| Red Hat Enterprise Linux 7 | libmpx | Not affected | ||
| Red Hat Enterprise Linux 7 | libmudflap | Not affected | ||
| Red Hat Enterprise Linux 7 | libmudflap-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | libmudflap-static | Not affected | ||
| Red Hat Enterprise Linux 7 | libobjc | Not affected | ||
| Red Hat Enterprise Linux 7 | libquadmath | Not affected | ||
| Red Hat Enterprise Linux 7 | libquadmath-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | libquadmath-static | Not affected | ||
| Red Hat Enterprise Linux 7 | libstdc++ | Not affected | ||
| Red Hat Enterprise Linux 7 | libstdc++-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | libstdc++-docs | Not affected | ||
| Red Hat Enterprise Linux 7 | libstdc++-static | Not affected | ||
| Red Hat Enterprise Linux 7 | libtsan | Not affected | ||
| Red Hat Enterprise Linux 7 | libtsan-static | Not affected | ||
| Go library | stdlib | Fixed | 1.6.3 | GO-2022-0761 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- http://rhn.redhat.com/errata/RHSA-2016-1538.html (vendor-advisory)
References
- http://www.kb.cert.org/vuls/id/797896
- https://bugzilla.redhat.com/show_bug.cgi?id=1353798
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7WGHKKCFP4PLVSWQKCM3FJJPEWB5ZNTU/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OR52UXGM6RKSCWF3KQMVZGVZVJ3WEESJ/
- http://rhn.redhat.com/errata/RHSA-2016-1538.html
- https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03770en_us
- https://httpoxy.org/
- http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.