cve.bz

CVE-2016-5386 (httpoxy) Improper Access Control

8.1 highEPSS 5.2%Fix available

Known as httpoxy

High (8.1). EPSS 5.2% estimated probability of exploitation activity in the next 30 days. Fixed in stdlib 1.6.3.

On this page
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.

Severity

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
5.2% (unchanged from 5.2% a week ago; 5.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 93rd percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-284 Improper Access Control
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2016-5386 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2016-5386?via=ask-ai-copy and https://cve.bz/cve/CVE-2016-5386?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2016-5386 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
fedoraproject:fedora23
fedoraproject:fedora24
oracle:linux7
redhat:enterprise_linux_server7.0
redhat:enterprise_linux_server_aus7.2
redhat:enterprise_linux_server_eus7.2
golang:gofrom 1.0 before 1.6.3
golang:go1.7:rc1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GO-2022-0761Gostdlib<1.6.31.6.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu16.04:LTSgolang-1.6no fix listedUBUNTU-CVE-2016-5386
Red Hatenterprise_linux:7::servergolang, golang-bin, golang-src and 3 more0:1.6.3-1.el7_2.1RHSA-2016:1538
SUSEPackage Hub 12go1.6.1-6.1openSUSE-SU-2016:2054-1 openSUSE-SU-2016:2055-1
SUSEPackage Hub 12go1.41.4.3-6.1openSUSE-SU-2016:2536-1
openSUSETumbleweedgo1.17-1.1openSUSE-SU-2024:10802-1
openSUSETumbleweedgo1.101.10.8-8.2openSUSE-SU-2024:10803-1
openSUSETumbleweedgo1.111.11.13-10.5openSUSE-SU-2024:10804-1
openSUSETumbleweedgo1.121.12.17-4.8openSUSE-SU-2024:10805-1
openSUSETumbleweedgo1.41.4.3-12.2openSUSE-SU-2024:10811-1
openSUSETumbleweedgo1.91.9.7-11.2openSUSE-SU-2024:10812-1
Azure Linux3golangno fix listedAZL-78994 AZL-98904

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7golang-0:1.6.3-1.el7_2.1Fixed 2016-08-02RHSA-2016:1538
Red Hat Enterprise Linux 7compat-sap-c++-5Not affected
Red Hat Enterprise Linux 7gccNot affected
Red Hat Enterprise Linux 7gcc-librariesNot affected
Red Hat Enterprise Linux OpenStack Platform 7 (Kilo) Operational ToolsgolangWill not fix
Red Hat OpenShift Enterprise 3golangAffected
Red Hat OpenStack Platform 8 (Liberty) Operational ToolsgolangWill not fix
Red Hat OpenStack Platform 9 (Mitaka) Operational ToolsgolangNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2016-5386.

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-284 (17).

References

Check your stackJSON