Skip to content
OpenAdvisories
Unscored CVE-2015-5739 CVE-2015-5740CVE-2015-5741EUVD-2015-5685GHSA-92gr-8fh9-j8vqGO-2021-0159

Request smuggling due to improper header parsing in net/http

Published Oct 18, 2017 · Updated Aug 6, 2024 · Assigned by mitre

Description

The net/http library in net/textproto/reader.go in Go before 1.4.3 does not properly parse HTTP header keys, which allows remote attackers to conduct HTTP request smuggling attacks via a space instead of a hyphen, as demonstrated by "Content Length" instead of "Content-Length."

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 14.04 LTS gccgo-4.9 No fix yet —
ReleasePackageFixed inAdvisory
RHEL 7 golang +5 1.6.3-1.el7_2.1 RHSA-2016:1538

Affected packages

EcosystemPackageAffectedFixedRecord
Go stdlib < 1.4.3 1.4.3 GO-2021-0159

Advisories 1

References