{"id":"CVE-2023-39326","summary":"Denial of service via chunk extensions in net/http","details":"A malicious HTTP sender can use chunk extensions to cause a receiver reading from a request or response body to read many more bytes from the network than are in the body. A malicious HTTP client can further exploit this to cause a server to automatically read a large amount of data (up to about 1GiB) when a handler fails to read the entire body of a request. Chunk extensions are a little-used HTTP feature which permit including additional metadata in a request or response body sent using the chunked encoding. The net/http chunked encoding reader discards this metadata. A sender can exploit this by inserting a large metadata segment with each byte transferred. The chunk reader now produces an error if the ratio of real body to encoded bytes grows too small.","aliases":["BIT-golang-2023-39326","GO-2023-2382"],"modified":"2026-05-15T04:07:08.567938912Z","published":"2023-12-06T16:27:53.832Z","related":["ALSA-2024:0748","ALSA-2024:0887","ALSA-2024:1131","ALSA-2024:1149","ALSA-2024:2160","ALSA-2024:2193","ALSA-2024:2245","ALSA-2024:2272","CGA-68mx-h7cx-55qw","SUSE-SU-2023:4708-1","SUSE-SU-2023:4709-1","SUSE-SU-2023:4930-1","SUSE-SU-2023:4931-1","openSUSE-SU-2024:13491-1","openSUSE-SU-2024:13492-1"],"database_specific":{"cna_assigner":"Go","unresolved_ranges":[{"extracted_events":[{"fixed":"1.20.12"},{"introduced":"1.21.0-0"},{"fixed":"1.21.5"}],"source":"AFFECTED_FIELD"}],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/39xxx/CVE-2023-39326.json"},"references":[{"type":"WEB","url":"https://go.dev/cl/547335"},{"type":"WEB","url":"https://go.dev/issue/64433"},{"type":"WEB","url":"https://groups.google.com/g/golang-dev/c/6ypN5EjibjM/m/KmLVYH_uAgAJ"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UIU6HOGV6RRIKWM57LOXQA75BGZSIH6G/"},{"type":"WEB","url":"https://pkg.go.dev"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2023-2382"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/39xxx/CVE-2023-39326.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-39326"}],"schema_version":"1.7.5"}