{"schema_version":"1.7.3","id":"GHSA-mh55-gqvf-xfwm","published":"2024-07-05T19:42:48Z","modified":"2026-02-04T04:29:21.058502Z","aliases":["CVE-2025-47908","GO-2024-2883"],"related":["CGA-gcmv-pxrj-3x4w"],"summary":"Denial of service via malicious preflight requests in github.com/rs/cors","details":"Middleware causes a prohibitive amount of heap allocations when processing malicious preflight requests that include a Access-Control-Request-Headers (ACRH) header whose value contains many commas. This behavior can be abused by attackers to produce undue load on the middleware/server as an attempt to cause a denial of service.","affected":[{"package":{"name":"github.com/rs/cors","ecosystem":"Go","purl":"pkg:golang/github.com/rs/cors"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.9.0"},{"fixed":"1.11.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/07/GHSA-mh55-gqvf-xfwm/GHSA-mh55-gqvf-xfwm.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-47908"},{"type":"WEB","url":"https://github.com/rs/cors/issues/170"},{"type":"WEB","url":"https://github.com/rs/cors/pull/171"},{"type":"WEB","url":"https://github.com/rs/cors/commit/4c32059b2756926619f6bf70281b91be7b5dddb2"},{"type":"PACKAGE","url":"https://github.com/rs/cors"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2024-2883"}],"database_specific":{"cwe_ids":["CWE-770"],"github_reviewed":true,"github_reviewed_at":"2024-07-05T19:42:48Z","nvd_published_at":null,"severity":"MODERATE"}}