Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2016-5386

Go: sets environmental variable based on user supplied Proxy request header

Overview

Published
19 Jul 2016
Modified
17 Jun 2026
High CVE
1 Registry packages
26 OS packages
3 Linux distributions
Yes Fix available

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

Packages affected by CVE-2016-5386
EcosystemPackageVulnerableFixed 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

fixed 1
golang
Oracle Linux fixes for CVE-2016-5386
ReleasePackageFixed in
7 golang +5 1.6.3-1.el7_2.1

Red Hat 1 release · 1 package

wont fix 1 fixed 1
golang
Red Hat fixes for CVE-2016-5386
ReleasePackageFixed inAdvisory
7 golang +3 wont fix —
7 golang +5 0:1.6.3-1.el7_2.1 RHSA-2016:1538

openSUSE 1 release · 6 packages

fixed 6
go1-10 go1-11 go1-12 go go1-4 go1-9
openSUSE fixes for CVE-2016-5386
ReleasePackageFixed inAdvisory
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

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.