{"id":"CVE-2025-47908","aliases":["CVE-2025-47908","GHSA-mh55-gqvf-xfwm","GO-2024-2883"],"related":["CGA-gcmv-pxrj-3x4w"],"kind":"vulnerability","state":"published","title":"Denial of service via malicious preflight requests in github.com/rs/cors","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"El middleware genera una cantidad prohibitiva de asignaciones de montón al procesar solicitudes preflight maliciosas que incluyen un encabezado ACRH (Access-Control-Request-Headers) cuyo valor contiene muchas comas. Los atacantes pueden abusar de este comportamiento para generar una carga excesiva en el middleware/servidor con el fin de provocar una denegación de servicio.","source":"nvd"}],"published":"2024-07-02T19:20:36.000Z","modified":"2026-09-10T03:50:16.858Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-770","CWE-1325"],"affected":[{"ranges":[{"type":"semver","introduced":"1.9.0","fixed":"1.11.0","status":"affected"}],"vendor":"github.com/rs/cors","product":"github.com/rs/cors","package":"github.com/rs/cors","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.9.0","status":"affected","fixed":"1.11.0"}],"ecosystem":"Go","package":"github.com/rs/cors","purl":"pkg:golang/github.com/rs/cors","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.9.0","status":"affected","fixed":"1.11.0"}],"ecosystem":"Go","package":"github.com/rs/cors","purl":"pkg:golang/github.com/rs/cors","source":"go"}],"references":[{"url":"https://github.com/rs/cors/pull/171","tags":["fix","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/rs/cors/issues/170","tags":["report","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://pkg.go.dev/vuln/GO-2024-2883","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-47908","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/rs/cors/commit/4c32059b2756926619f6bf70281b91be7b5dddb2","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/rs/cors","tags":["package"],"sources":["ghsa"]}],"credits":["@jub0bs"],"assigner":"Go","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2025-08-07T13:46:29.844Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-47908","url":"https://www.cve.org/CVERecord?id=CVE-2025-47908","licence":"CVE Terms of Use","modified":"2025-08-07T13:47:15.232Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mh55-gqvf-xfwm","url":"https://github.com/advisories/GHSA-mh55-gqvf-xfwm","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:16.858Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-2883","url":"https://pkg.go.dev/vuln/GO-2024-2883","licence":"CC-BY-4.0","modified":"2026-02-04T04:22:36.439Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-47908","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-47908","licence":"Public domain","modified":"2026-06-17T09:28:49.670Z"}],"updatedAt":"2026-11-25T22:59:02.167Z","epss":{"score":0.00673,"percentile":0.5336,"date":"2026-12-01T12:00:22.000Z"}}