{"schema_version":"1.3.1","id":"GO-2022-0525","modified":"2024-05-20T16:03:47Z","published":"2022-07-25T17:34:18Z","aliases":["CVE-2022-1705"],"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.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"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"]}]}}],"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"}],"credits":[{"name":"Zeyu Zhang (https://www.zeyu2001.com/)"}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0525","review_status":"REVIEWED"}}