{"id":"GO-2022-0525","summary":"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.","aliases":["BIT-golang-2022-1705","CVE-2022-1705"],"modified":"2024-05-20T16:03:47Z","published":"2022-07-25T17:34:18Z","database_specific":{"review_status":"REVIEWED","url":"https://pkg.go.dev/vuln/GO-2022-0525"},"references":[{"type":"FIX","url":"https://go.dev/cl/409874"},{"type":"FIX","url":"https://go.googlesource.com/go/+/e5017a93fcde94f09836200bca55324af037ee5f"},{"type":"REPORT","url":"https://go.dev/issue/53188"},{"type":"FIX","url":"https://go.dev/cl/410714"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE"}],"affected":[{"package":{"name":"stdlib","ecosystem":"Go","purl":"pkg:golang/stdlib"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.17.12"},{"introduced":"1.18.0-0"},{"fixed":"1.18.4"}]}],"ecosystem_specific":{"imports":[{"path":"net/http","symbols":["transferReader.parseTransferEncoding"]}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2022-0525.json"}}],"schema_version":"1.7.3","credits":[{"name":"Zeyu Zhang (https://www.zeyu2001.com/)"}]}