Inconsistent interpretation of HTTP requests in Go programming language - CVE-2015-5741

 

Inconsistent interpretation of HTTP requests in Go programming language - CVE-2015-5741

Published: February 8, 2020 / Updated: July 17, 2020


Vulnerability identifier: #VU30372
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2015-5741
CWE-ID: CWE-444
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

The net/http library in net/http/transfer.go in Go before 1.4.3 does not properly parse HTTP headers, which allows remote attackers to conduct HTTP request smuggling attacks via a request that contains Content-Length and Transfer-Encoding header fields.


Affected software

Go programming language
Amazon Linux AMI
Fedora
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - Extended Update Support
go (Alpine package)
golang
golang (Red Hat package)

How to mitigate CVE-2015-5741

Install update from vendor's website.

Go programming language - update to 1.4.3
go (Alpine package) - update to 1.4.2-r1
golang - addressed in versions 1.4.2-3.el6, 1.4.2-3.fc21, 1.4.2-3.fc22, 1.5.1-0.el6, 1.5.1-0.fc21, 1.5.1-0.fc22, 1.5-6.el6, 1.5-6.fc21, 1.5-6.fc22, 1.5-8.fc22
golang (Red Hat package) - update to 1.6.3-1.el7_2.1

External References

Related Security Bulletins