Medium severity · published Aug 9, 2022
CVE-2022-1705
Improper sanitization of Transfer-Encoding headers in net/http
6.5
CVSS
1.5%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.5% · higher than 75% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
NE
net/http · Go standard library
before 1.17.12; 1.18.0-0 before 1.18.4 · source: vendor
GO
GO · Golang
before 1.17.12; 1.18.0 before 1.18.4 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-1705
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-1705
Patch
https://go.dev/cl/409874
Patch
https://go.dev/cl/410714
Exploit
https://go.dev/issue/53188
Patch
https://go.googlesource.com/go/+/e5017a93fcde94f09836200bca55324af037ee5f
Release Notes
https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE
Vendor Advisory
https://pkg.go.dev/vuln/GO-2022-0525
More from net/http
9.6
CVE-2026-39821
Invoking failure to reject ASCII-only Punycode-encoded labels in golang.org/x/net/idna
9.1
CVE-2026-78663
Double flow control refund on HTTP/2 server streams in net/http
7.5
CVE-2026-97032
HTTP/2 server crash due to HPACK encoder race in net/http
7.5
CVE-2026-94439
HTTP/1 server connection desynchronization after 2xx CONNECT response in net/http
7.5
CVE-2026-78669
Excessive CPU consumption from repeated initial window changes in net/http
