CVE-2016-5386
mediumpriority · track · 34EPSS 0.052 · 92 %ileDEEUUSEPSS · scored 2026-10-27
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.
remediations
Vendor fix, mitigation, or workaround guidance, as published by each source.
A vendor fix is available.
- Fixedgolang-0:1.6.3-1.el7_2.1.src as a component of Red Hat Enterprise Linux Server Optional (v. 7)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2016:1538 - Fixedgolang-0:1.6.3-1.el7_2.1.x86_64 as a component of Red Hat Enterprise Linux Server Optional (v. 7)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2016:1538 - Fixedgolang-bin-0:1.6.3-1.el7_2.1.x86_64 as a component of Red Hat Enterprise Linux Server Optional (v. 7)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2016:1538 - Fixedgolang-docs-0:1.6.3-1.el7_2.1.noarch as a component of Red Hat Enterprise Linux Server Optional (v. 7)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2016:1538 - Fixedgolang-misc-0:1.6.3-1.el7_2.1.noarch as a component of Red Hat Enterprise Linux Server Optional (v. 7)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2016:1538 - Fixedgolang-src-0:1.6.3-1.el7_2.1.noarch as a component of Red Hat Enterprise Linux Server Optional (v. 7)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2016:1538 - Fixedgolang-tests-0:1.6.3-1.el7_2.1.noarch as a component of Red Hat Enterprise Linux Server Optional (v. 7)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2016:1538
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5–8.1
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (34)
Products and version ranges known to be affected.
- SUSE Linux Enterprise Desktop 12 SP1all versionscert_bundDEcpe:/o:suse:linux_enterprise_desktop:12:sp1
- SUSE Linux Enterprise Server 12 SP1all versionscert_bundDEcpe:/o:suse:linux_enterprise_server:12:sp1
advisories (3)
Vendor and ecosystem advisories describing this.
- RHSA-2016:1538Red Hat Security Advisory: golang security, bug fix, and enhancement update2016-08-02csaf · redhat_csafUS
An update for golang is now available for Red Hat Enterprise Linux 7. Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.
- WID-SEC-W-2025-2522Mehrere Webserver: Schwachstelle ermöglicht Umgehen von SicherheitsvorkehrungenDeutsch2016-07-18csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann eine Schwachstelle in mehreren Webserver Produkten ausnutzen, um Sicherheitsvorkehrungen zu umgehen.
- GO-2022-0761Improper input validation in net/http and net/http/cgi2022-08-09vendor · osvUS
An input validation flaw in the CGI components allows the HTTP_PROXY environment variable to be set by the incoming Proxy header, which changes where Go by default proxies all outbound HTTP requests. This environment variable is also used to set the outgoing proxy, enabling an attacker to insert a proxy into outgoing requests of a CGI program. Read more about "httpoxy" here: https://httpoxy.org.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (27)
External citations — patches, advisories, analysis.
- http://rhn.redhat.com/errata/RHSA-2016-1538.htmlcnnvd
- http://www.kb.cert.org/vuls/id/797896cnnvd
- http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.htmlcnnvd
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.htmlcnnvd
- https://bugzilla.redhat.com/show_bug.cgi?id=1353798cnnvd
- https://golang.org/Patchcnnvd
- https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03770en_uscnnvd
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7WGHKKCFP4PLVSWQKCM3FJJPEWB5ZNTU/cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan