{"id":"GHSA-4v7x-pqxf-cx7m","revision":"0cf5657c5b4d4182a918f98c100ab2bd","records":[{"revision":"0cf5657c5b4d4182a918f98c100ab2bd","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-4v7x-pqxf-cx7m","aliases":["BIT-golang-2023-45288","CVE-2023-45288","GO-2024-2687"],"title":"net/http, x/net/http2: close connections when receiving too many headers","description":"An attacker may cause an HTTP/2 endpoint to read arbitrary amounts of header data by sending an excessive number of CONTINUATION frames. Maintaining 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. This 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. The fix sets a limit on the amount of excess header frames we will process before closing a connection.","state":0,"publishedAt":"2024-04-04T21:30:32+00:00","modifiedAt":"2026-09-10T03:50:11.1064512+00:00","affected":[{"ecosystem":"Go","name":"net/http","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.21.9"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"golang.org/x/net/http2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.23.0"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"net/http","ranges":[{"type":"SEMVER","events":[{"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":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2023-45288","https://go.dev/cl/576155","https://go.dev/issue/65051","https://groups.google.com/g/golang-announce/c/YgW0sx8mN3M","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QRYFHIQ6XRKRYBI2F5UESH67BJBQXUPT","https://nowotarski.info/http2-continuation-flood-technical-details","https://pkg.go.dev/vuln/GO-2024-2687","https://security.netapp.com/advisory/ntap-20240419-0009","https://www.kb.cert.org/vuls/id/421644","http://www.openwall.com/lists/oss-security/2024/04/03/16","http://www.openwall.com/lists/oss-security/2024/04/05/4"],"sourceUrl":"https://github.com/advisories/GHSA-4v7x-pqxf-cx7m","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-4v7x-pqxf-cx7m","identifiers":["GHSA-4v7x-pqxf-cx7m","BIT-golang-2023-45288","CVE-2023-45288","GO-2024-2687"]},"retained":false,"historicalAffected":[]}],"coverage":[]}