CVE-2025-47908
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| github.com/rs/cors | github.com/rs/cors | 1.9.0 < 1.11.0 | affected |
Weaknesses
- CWE-1325: Improperly Controlled Sequential Memory Allocation
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: poc
- Automatable: yes
- Technical Impact: partial
References
- https://github.com/rs/cors/pull/171
- https://github.com/rs/cors/issues/170
- https://pkg.go.dev/vuln/GO-2024-2883
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.