Overly broad permissions can turn one compromised account into a much larger security problem. Learn how to reduce unnecessary access, review privileges, and apply least privilege across modern Linux systems. Review Linux Privileges×

Alerts This Week
Warning Icon 1 524
Alerts This Week
Warning Icon 1 524

Red Hat Enterprise Linux 7 RHSA-2016:1538-01 Moderate: Golang CGI Issue

red hat
Calendar Grey August 2, 2016
Scroller Redhat
An upgrade is now accessible for golang on Red Hat Enterprise Linux 7, aimed at resolving a notable security vulnerability along with a bug repair.
An update for golang is now available for Red Hat Enterprise Linux 7

Solution

For details on how to apply this update, which includes the changes described in this advisory, refer to:

https://access.redhat.com/articles/11258

Summary

The golang packages provide the Go programming language compiler.
The following packages have been upgraded to a newer upstream version: golang (1.6.3). (BZ#1346331)
Security Fix(es):
* 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. (CVE-2016-5386)
Red Hat would like to thank Scott Geary (VendHQ) for reporting this issue.

References

https://access.redhat.com/security/cve/CVE-2016-5386 https://access.redhat.com/security/updates/classification#moderate

Package List

Red Hat Enterprise Linux Server Optional (v. 7):
Source: golang-1.6.3-1.el7_2.1.src.rpm
noarch: golang-docs-1.6.3-1.el7_2.1.noarch.rpm golang-misc-1.6.3-1.el7_2.1.noarch.rpm golang-src-1.6.3-1.el7_2.1.noarch.rpm golang-tests-1.6.3-1.el7_2.1.noarch.rpm
x86_64: golang-1.6.3-1.el7_2.1.x86_64.rpm golang-bin-1.6.3-1.el7_2.1.x86_64.rpm
These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from https://access.redhat.com/security/team/key


Advisory ID: RHSA-2016:1538-01
Product: Red Hat Enterprise Linux
Issue date: 2016-08-02

Topic

An update for golang is now available for Red Hat Enterprise Linux 7.Red Hat Product Security has rated this update as having a security impactof Moderate. A Common Vulnerability Scoring System (CVSS) base score, whichgives a detailed severity rating, is available for each vulnerability fromthe CVE link(s) in the References section.

Relevant Releases Architectures

Red Hat Enterprise Linux Server Optional (v. 7) - noarch, x86_64

Bugs Fixed

1346331 - REBASE to golang 1.6

1353798 - CVE-2016-5386 Go: sets environmental variable based on user supplied Proxy request header

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.