CVE-2022-1705
MEDIUM6.5EPSS 0.06%Improper sanitization of Transfer-Encoding headers in net/http
Published: 7/25/2022Modified: 4/28/2026
Description
Acceptance of some invalid Transfer-Encoding headers in the HTTP/1 client in net/http before Go 1.17.12 and Go 1.18.4 allows HTTP request smuggling if combined with an intermediate server that also improperly fails to reject the header as invalid.
Affected packages (4)
- Bitnami/golangfrom 0, < 1.17.12, >= 1.18.0, < 1.18.4
- Debian/golang-1.15from 0
- Debian/golang-1.19from 0, < 1.19~rc1-1
- Go/stdlibfrom 0, < 1.17.12, >= 1.18.0-0, < 1.18.4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
References (8)
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2022-1705
- PATCHhttps://go.dev/cl/409874
- PATCHhttps://go.dev/cl/410714
- PATCHhttps://go.googlesource.com/go/+/e5017a93fcde94f09836200bca55324af037ee5f
- REPORThttps://go.dev/issue/53188
- WEBhttps://groups.google.com/g/golang-announce/c/nqrv9fbR0zE
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2022-1705
- WEBhttps://pkg.go.dev/vuln/GO-2022-0525