CVE-2025-47908
Middleware causes a prohibitive amount of heap allocations when …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/rs/cors/issues/170
- github.com/rs/cors/pull/171
- pkg.go.dev/vuln/GO-2024-2883
- github.com/rs/cors/commit/4c32059b2756926619f6bf70281b91be7b5dddb2
- nvd.nist.gov/vuln/detail/CVE-2025-47908
- github.com/advisories/GHSA-mh55-gqvf-xfwm
- nvd.nist.gov/vuln/detail/CVE-2025-47908
- cve.org/CVERecord?id=CVE-2025-47908
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.