{"id":"CVE-2023-39326","published":"2023-12-06T16:27:53Z","modified":"2025-02-13T17:02:50Z","title":"Denial of service via chunk extensions in net/http","vendor":"Go standard library","product":"net/http/internal","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01101,"percentile":0.65257,"provenance":"source"},"cwes":[],"references":[{"url":"https://go.dev/issue/64433","tags":[]},{"url":"https://go.dev/cl/547335","tags":[]},{"url":"https://groups.google.com/g/golang-dev/c/6ypN5EjibjM/m/KmLVYH_uAgAJ","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2023-2382","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UIU6HOGV6RRIKWM57LOXQA75BGZSIH6G/","tags":[]}],"priority":{"score":13.1,"factors":[{"name":"EPSS percentile","points":13.05}]},"vendorSlug":"go-standard-library","affectedVersions":[{"vendor":"Go standard library","product":"net/http/internal","versions":["< 1.20.12",">= 1.21.0-0, < 1.21.5"]}],"affected":[{"ecosystem":"Go","package":"stdlib","vulnerableRanges":["<1.20.12",">=1.21.0-0, <1.21.5"],"patched":["1.20.12","1.21.5"],"from":["GO-2023-2382"],"provenance":"source"}],"summary":{"text":"The Go standard library's net/http package (internal chunked encoding reader in net/http/internal) fails to account for chunk extension metadata, which the reader discards while counting bytes read from the network. Remote attackers who can send HTTP requests or responses using chunked encoding can insert large chunk extensions to make a receiver consume far more network data than the body contains, and a malicious client can cause a server to read up to about 1GiB when a handler does not consume the full request body.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:53:22Z"},"euvd":{"id":"EUVD-2023-43057","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-39322","published":"2023-09-08","fixed":"1.21.1","kev":false},{"cve":"CVE-2023-39325","published":"2023-10-11","fixed":"1.21.3","kev":false},{"cve":"CVE-2023-45284","published":"2023-11-09","fixed":"1.21.4","kev":false},{"cve":"CVE-2023-39326","published":"2023-12-06","fixed":"1.21.5","kev":false},{"cve":"CVE-2023-45283","published":"2023-11-09","fixed":"1.21.5","kev":false,"link":{"from":"CVE-2023-45283","to":"CVE-2023-39326","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:stdlib","fromFixed":"1.20.11","toFixed":"1.20.12","daysApart":27}]}},{"cve":"CVE-2023-45289","published":"2024-03-05","fixed":"1.22.1","kev":false},{"cve":"CVE-2023-45290","published":"2024-03-05","fixed":"1.22.1","kev":false}],"package":"Go:stdlib"}}