CVE-2016-5386

Impact:
Moderate
Public Date:
2016-07-18
CWE:
CWE-20
Bugzilla:
1353798: CVE-2016-5386 Go: sets environmental variable based on user supplied Proxy request header
An input-validation flaw was discovered in the Go programming language built in CGI implementation, which set the environment variable "HTTP_PROXY" using the incoming "Proxy" HTTP-request header. The environment variable "HTTP_PROXY" is used by numerous web clients, including Go's net/http package, to specify a proxy server to use for HTTP and, in some cases, HTTPS requests. This meant that when a CGI-based web application ran, an attacker could specify a proxy server which the application then used for subsequent outgoing requests, allowing a man-in-the-middle attack.

Find out more about CVE-2016-5386 from the MITRE CVE dictionary dictionary and NIST NVD.

CVSS v2 metrics

Base Score 5
Base Metrics AV:N/AC:L/Au:N/C:N/I:P/A:N
Access Vector Network
Access Complexity Low
Authentication None
Confidentiality Impact None
Integrity Impact Partial
Availability Impact None

CVSS v3 metrics

CVSS3 Base Score 5
CVSS3 Base Metrics CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N
Attack Vector Network
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Changed
Confidentiality None
Integrity Impact Low
Availability Impact None

Find out more about Red Hat support for the Common Vulnerability Scoring System (CVSS).

Red Hat Security Errata

Platform Errata Release Date
Red Hat Enterprise Linux 7 (golang) RHSA-2016:1538 2016-08-02

Affected Packages State

Platform Package State
Red Hat OpenStack Platform Operational Tools 9 golang Not affected
Red Hat OpenShift Enterprise 3 golang Will not fix
Red Hat Enterprise Linux OpenStack Platform 8.0 Operational Tools for RHEL 7 golang Will not fix
Red Hat Enterprise Linux OpenStack Platform 7.0 Operational Tools for RHEL 7 golang Will not fix
Red Hat Enterprise Linux 7 compat-sap-c++-5 Not affected
Red Hat Enterprise Linux 7 gcc Not affected
Red Hat Enterprise Linux 7 gcc-libraries Not affected

Acknowledgements

Red Hat would like to thank Scott Geary (VendHQ) for reporting this issue.
Last Modified