CVE-2016-5386
Go: sets environmental variable based on user supplied Proxy request header
Overview
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.
Source: OX vulnerability database
Severity
8.1 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-284
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Go | stdlib | <1.6.3 | 1.6.3 |
Open a package to see all its vulnerabilities.
Operating systems · 9 fixes
Oracle Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | golang +5 | 1.6.3-1.el7_2.1 |
Red Hat 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | golang +3 | wont fix | — |
| 7 | golang +5 | 0:1.6.3-1.el7_2.1 | RHSA-2016:1538 |
openSUSE 1 release · 6 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | go1-10 +2 | 1.10.8-8.2 | openSUSE-SU-2024:10803-1 |
| Tumbleweed | go1-11 +2 | 1.11.13-10.5 | openSUSE-SU-2024:10804-1 |
| Tumbleweed | go1-12 +2 | 1.12.17-4.8 | openSUSE-SU-2024:10805-1 |
| Tumbleweed | go +2 | 1.17-1.1 | openSUSE-SU-2024:10802-1 |
| Tumbleweed | go1-4 +2 | 1.4.3-12.2 | openSUSE-SU-2024:10811-1 |
| Tumbleweed | go1-9 +2 | 1.9.7-11.2 | openSUSE-SU-2024:10812-1 |
References
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2016-1538.html
- www.kb.cert.org http://www.kb.cert.org/vuls/id/797896
- www.oracle.com http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html
- www.oracle.com http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html
- access.redhat.com https://access.redhat.com/security/cve/CVE-2016-5386
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1353798
- go.dev https://go.dev/cl/25010
- go.dev https://go.dev/issue/16405
- go.googlesource.com https://go.googlesource.com/go/+/b97df54c31d6c4cc2a28a3c83725366d52329223
- groups.google.com https://groups.google.com/g/golang-announce/c/7jZDOQ8f8tM/m/eWRWHnc8CgAJ
Show all 19 references
- h20566.www2.hpe.com https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03770en_us
- httpoxy.org https://httpoxy.org/
- linux.oracle.com https://linux.oracle.com/cve/CVE-2016-5386.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2016-1538.html
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7WGHKKCFP4PLVSWQKCM3FJJPEWB5ZNTU/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OR52UXGM6RKSCWF3KQMVZGVZVJ3WEESJ/
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2016-5386
- pkg.go.dev https://pkg.go.dev/vuln/GO-2022-0761
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2016-5386
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.