Skip to content
Fencer Vulns
high 8.1

CVE-2016-5386 json

Improper input validation in net/http and net/http/cgi

published 2016-07-19 10 y ago modified 2026-06-17 4 mo ago also GO-2022-0761 , EUVD-2016-6336

cvss
8.1
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
5.2%
EPSS 5.2% chance of exploitation in 30 days, percentile 92%
public exploits
0
none known

Summary

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.

Patch / fix

  • go stdlib 1.6.3
  • golang go 1.6.3
  • golang RHEL 7 1.6.3-1.el7_2.1
  • golang-bin RHEL 7 1.6.3-1.el7_2.1
  • golang-src RHEL 7 1.6.3-1.el7_2.1
  • golang-misc RHEL 7 1.6.3-1.el7_2.1
  • golang-tests RHEL 7 1.6.3-1.el7_2.1

red hat advisories RHSA-2016:1538

  • go openSUSE Tumbleweed 1.17-1.1
  • go1.10 openSUSE Tumbleweed 1.10.8-8.2
  • go1.11 openSUSE Tumbleweed 1.11.13-10.5
  • go1.12 openSUSE Tumbleweed 1.12.17-4.8
  • go1.4 openSUSE Tumbleweed 1.4.3-12.2
  • go1.9 openSUSE Tumbleweed 1.9.7-11.2
  • go1.4 Package Hub 12 1.4.3-6.1
  • go Package Hub 12 1.6.1-6.1

opensuse advisories openSUSE-SU-2024:10802-1openSUSE-SU-2024:10803-1openSUSE-SU-2024:10804-1openSUSE-SU-2024:10805-1openSUSE-SU-2024:10811-1openSUSE-SU-2024:10812-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2016-5386 updated cvss 5.0

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

  • Red Hat Enterprise Linux OpenStack Platform 7 (Kilo) Operational Tools golang
    affected: no fix planned “Will not fix”
  • Red Hat OpenShift Enterprise 3 golang
    affected: no fix available
  • Red Hat OpenStack Platform 8 (Liberty) Operational Tools golang, golang-src, golang-pkg-linux-amd64, golang-pkg-bin-linux-amd64
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux Server Optional (v. 7) golang 1.6.3-1.el7_2.1, golang-bin 1.6.3-1.el7_2.1, golang-src 1.6.3-1.el7_2.1, golang-misc 1.6.3-1.el7_2.1, golang-tests 1.6.3-1.el7_2.1
    fixed: vendor fix RHSA-2016:1538
  • Red Hat Enterprise Linux 7 cpp, gcc, libgo, gcc-go, libgcc, libitm, +20 more Red Hat OpenStack Platform 9 (Mitaka) Operational Tools golang, golang-bin, golang-src
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

5.22% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected packages

ecosystem package affected fixed in
go stdlib
<1.6.3
1.6.3

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.