{"id":"CVE-2025-47908","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.","aliases":["GHSA-mh55-gqvf-xfwm","GO-2024-2883"],"modified":"2026-05-01T04:28:51.317725Z","published":"2025-08-06T20:41:31.311Z","related":["CGA-gcmv-pxrj-3x4w","SUSE-SU-2025:3817-1","SUSE-SU-2025:3819-1","SUSE-SU-2025:4457-1","SUSE-SU-2025:4481-1","openSUSE-SU-2025:15424-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/47xxx/CVE-2025-47908.json","cna_assigner":"Go"},"references":[{"type":"WEB","url":"https://pkg.go.dev"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2024-2883"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/47xxx/CVE-2025-47908.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-47908"},{"type":"REPORT","url":"https://github.com/rs/cors/issues/170"},{"type":"FIX","url":"https://github.com/rs/cors/pull/171"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/rs/cors","events":[{"introduced":"5c2b877d2a033557c474bf5f9ed03626bd774839"},{"fixed":"4c32059b2756926619f6bf70281b91be7b5dddb2"}],"database_specific":{"extracted_events":[{"introduced":"1.9.0"},{"fixed":"1.11.0"}],"source":"AFFECTED_FIELD"}}],"versions":["v1.10.0","v1.10.1","v1.9.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-47908.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}