CVE-2015-5740
CRITICAL 9.8CVSS 3.0Request smuggling due to improper header parsing in net/http
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.
- Published
- 18 Oct 2017
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-444
- Also known as
- CVE-2015-5739CVE-2015-5741GO-2021-0159
- Sources
- NVDJSONOSV GO-2021-0159JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | golang | gocpe:2.3:a:golang:go:*:*:*:*:*:*:*:* |
<= 1.4.2 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:21:*:*:*:*:*:*:* |
= 21 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:22:*:*:*:*:*:*:* |
= 22 | |
| NVD | redhat | enterprise_linux_servercpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | redhat | enterprise_linux_server_auscpe:2.3:o:redhat:enterprise_linux_server_aus:7.2:*:*:*:*:*:*:* |
= 7.2 | |
| NVD | redhat | enterprise_linux_server_auscpe:2.3:o:redhat:enterprise_linux_server_aus:7.3:*:*:*:*:*:*:* |
= 7.3 | |
| NVD | redhat | enterprise_linux_server_auscpe:2.3:o:redhat:enterprise_linux_server_aus:7.4:*:*:*:*:*:*:* |
= 7.4 | |
| NVD | redhat | enterprise_linux_server_auscpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:* |
= 7.6 | |
| NVD | redhat | enterprise_linux_server_euscpe:2.3:o:redhat:enterprise_linux_server_eus:7.2:*:*:*:*:*:*:* |
= 7.2 | |
| NVD | redhat | enterprise_linux_server_euscpe:2.3:o:redhat:enterprise_linux_server_eus:7.3:*:*:*:*:*:*:* |
= 7.3 | |
| NVD | redhat | enterprise_linux_server_euscpe:2.3:o:redhat:enterprise_linux_server_eus:7.4:*:*:*:*:*:*:* |
= 7.4 | |
| NVD | redhat | enterprise_linux_server_euscpe:2.3:o:redhat:enterprise_linux_server_eus:7.5:*:*:*:*:*:*:* |
= 7.5 | |
| NVD | redhat | enterprise_linux_server_euscpe:2.3:o:redhat:enterprise_linux_server_eus:7.6:*:*:*:*:*:*:* |
= 7.6 | |
| NVD | redhat | enterprise_linux_server_tuscpe:2.3:o:redhat:enterprise_linux_server_tus:7.2:*:*:*:*:*:*:* |
= 7.2 | |
| NVD | redhat | enterprise_linux_server_tuscpe:2.3:o:redhat:enterprise_linux_server_tus:7.3:*:*:*:*:*:*:* |
= 7.3 | |
| NVD | redhat | enterprise_linux_server_tuscpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:* |
= 7.6 | |
| OSV | Go | stdlib | < 1.4.3 | 1.4.3 |
References
- http://lists.fedoraproject.org/pipermail/package-announce/2015-October/167997.html · Third Party Advisory
- http://lists.fedoraproject.org/pipermail/package-announce/2015-October/168029.html · Third Party Advisory
- http://rhn.redhat.com/errata/RHSA-2016-1538.html · Third Party Advisory
- http://seclists.org/oss-sec/2015/q3/237 · Mailing List, Third Party Advisory
- http://seclists.org/oss-sec/2015/q3/292 · Mailing List, Third Party Advisory
- http://seclists.org/oss-sec/2015/q3/294 · Mailing List, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1250352 · Issue Tracking, Patch, Third Party Advisory
- https://github.com/golang/go/commit/300d9a21583e7cf0149a778a0611e76ff7c6680f · Issue Tracking, Patch, Third Party Advisory
- https://go.dev/cl/13148 · FIX
- https://go.googlesource.com/go/+/26049f6f9171d1190f3bbe05ec304845cfe6399f · FIX
- https://go.dev/cl/11772 · FIX
- https://go.dev/cl/11810 · FIX
- https://go.dev/cl/12865 · FIX
- https://go.googlesource.com/go/+/117ddcb83d7f42d6aa72241240af99ded81118e9 · FIX
- https://go.googlesource.com/go/+/300d9a21583e7cf0149a778a0611e76ff7c6680f · FIX
- https://go.googlesource.com/go/+/c2db5f4ccc61ba7df96a747e268a277b802cbb87 · FIX
- https://go.dev/issue/12027 · REPORT
- https://go.dev/issue/11930 · REPORT
- https://groups.google.com/g/golang-announce/c/iSIyW4lM4hY/m/ADuQR4DiDwAJ · WEB
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 18 Oct 2017)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Jan 2022)