GHSA-mh55-gqvf-xfwm
Dashboard / Vulnerabilities / GHSA-mh55-gqvf-xfwm
GHSA-mh55-gqvf-xfwm
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.
References: https://nvd.nist.gov/vuln/detail/CVE-2025-47908, https://github.com/rs/cors/issues/170, https://github.com/rs/cors/pull/171, https://github.com/rs/cors/commit/4c32059b2756926619f6bf70281b91be7b5dddb2, https://github.com/rs/cors, https://pkg.go.dev/vuln/GO-2024-2883
Affected packages
Package
Name: github.com/rs/cors
Purl: pkg:golang/github.com/rs/cors
Affected ranges
Type: SEMVER
Events:
