rs/cors · Security
Denial of service via malicious preflight requests in github.com/rs/cors
- GHSA ID
- GHSA-mh55-gqvf-xfwm
- CVE ID
- CVE-2025-47908
- Severity
- medium
- Published
- Updated
Description
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.
CWEs
- CWE-770 · Allocation of Resources Without Limits or Throttling