Vulnerabilities / CVE-2015-5740

critical

CVE-2015-5740

golang: HTTP request smuggling in net/http library

Published Modified CWE 444
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat6.8AV:N/AC:M/Au:N/C:P/I:P/A:P

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (medium), Amazon (medium).

Description

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 with two Content-length headers.

Affected packages and fixed versions

SourcePackageFixed in
amazon linux 1docker, docker-devel, docker-pkg-devel and 21 more1.6.2-1.3.amzn1 and 1 more
debian 7golangno fix listed
debian 8golangno fix listed
go::The Go Vulnerability Databasestdlib1.4.3
rapidfort ubuntu 20.04golangno fix listed
rapidfort ubuntu 22.04golangno fix listed
rapidfort ubuntu 24.04golangno fix listed
Red Hatgolang, golang-pkg-bin-linux-amd64, golang-pkg-linux-amd64 and 1 moreno fix listed
Show all 34 entries from 8 sources
SourcePackageFixed in
amazon linux 1docker1.6.2-1.3.amzn1
amazon linux 1docker-devel1.6.2-1.3.amzn1
amazon linux 1docker-pkg-devel1.6.2-1.3.amzn1
amazon linux 1golang1.4.2-3.16.amzn1
amazon linux 1golang-pkg-bin-linux-3861.4.2-3.16.amzn1
amazon linux 1golang-pkg-bin-linux-amd641.4.2-3.16.amzn1
amazon linux 1golang-pkg-darwin-3861.4.2-3.16.amzn1
amazon linux 1golang-pkg-darwin-amd641.4.2-3.16.amzn1
amazon linux 1golang-pkg-freebsd-3861.4.2-3.16.amzn1
amazon linux 1golang-pkg-freebsd-amd641.4.2-3.16.amzn1
amazon linux 1golang-pkg-freebsd-arm1.4.2-3.16.amzn1
amazon linux 1golang-pkg-linux-3861.4.2-3.16.amzn1
amazon linux 1golang-pkg-linux-amd641.4.2-3.16.amzn1
amazon linux 1golang-pkg-linux-arm1.4.2-3.16.amzn1
amazon linux 1golang-pkg-netbsd-3861.4.2-3.16.amzn1
amazon linux 1golang-pkg-netbsd-amd641.4.2-3.16.amzn1
amazon linux 1golang-pkg-netbsd-arm1.4.2-3.16.amzn1
amazon linux 1golang-pkg-openbsd-3861.4.2-3.16.amzn1
amazon linux 1golang-pkg-openbsd-amd641.4.2-3.16.amzn1
amazon linux 1golang-pkg-plan9-3861.4.2-3.16.amzn1
amazon linux 1golang-pkg-plan9-amd641.4.2-3.16.amzn1
amazon linux 1golang-pkg-windows-3861.4.2-3.16.amzn1
amazon linux 1golang-pkg-windows-amd641.4.2-3.16.amzn1
amazon linux 1golang-src1.4.2-3.16.amzn1
debian 7golangno fix listed
debian 8golangno fix listed
go::The Go Vulnerability Databasestdlib1.4.3
rapidfort ubuntu 20.04golangno fix listed
rapidfort ubuntu 22.04golangno fix listed
rapidfort ubuntu 24.04golangno fix listed
Red Hatgolangno fix listed
Red Hatgolang-pkg-bin-linux-amd64no fix listed
Red Hatgolang-pkg-linux-amd64no fix listed
Red Hatgolang-srcno fix listed

References

All 23 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.