{"id":"GO-2024-2687","revision":"ea008b7513714d8782598177312f3194","records":[{"revision":"ea008b7513714d8782598177312f3194","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2024-2687","aliases":["BIT-golang-2023-45288","CVE-2023-45288","GHSA-4v7x-pqxf-cx7m"],"title":"HTTP/2 CONTINUATION flood in net/http","description":"An attacker may cause an HTTP/2 endpoint to read arbitrary amounts of header data by sending an excessive number of CONTINUATION frames.\n\nMaintaining HPACK state requires parsing and processing all HEADERS and CONTINUATION frames on a connection. When a request's headers exceed MaxHeaderBytes, no memory is allocated to store the excess headers, but they are still parsed.\n\nThis permits an attacker to cause an HTTP/2 endpoint to read arbitrary amounts of header data, all associated with a request which is going to be rejected. These headers can include Huffman-encoded data which is significantly more expensive for the receiver to decode than for an attacker to send.\n\nThe fix sets a limit on the amount of excess header frames we will process before closing a connection.","state":0,"publishedAt":"2024-04-03T21:12:01+00:00","modifiedAt":"2026-02-04T04:09:31.762399+00:00","affected":[{"ecosystem":"Go","name":"stdlib","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.21.9"},{"kind":"introduced","version":"1.22.0-0"},{"kind":"fixed","version":"1.22.2"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"golang.org/x/net","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.23.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://go.dev/issue/65051","https://go.dev/cl/576155","https://groups.google.com/g/golang-announce/c/YgW0sx8mN3M"],"sourceUrl":"https://osv.dev/vulnerability/GO-2024-2687","license":"OSV · upstream source license applies","key":"osv:GO-2024-2687","identifiers":["GO-2024-2687","BIT-golang-2023-45288","CVE-2023-45288","GHSA-4v7x-pqxf-cx7m"]},"retained":false,"historicalAffected":[]}],"coverage":[]}