Go Vulnerability Database
GO-2022-0525
Improper sanitization of Transfer-Encoding headers in net/http
Details
The HTTP/1 client accepted some invalid Transfer-Encoding headers as indicating a "chunked" encoding. This could potentially allow for request smuggling, but only if combined with an intermediate server that also improperly failed to reject the header as invalid.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | stdlib | All versions before 1.17.12 (fixed in 1.17.12) From 1.18.0-0 before 1.18.4 (fixed in 1.18.4) |