CVE-2025-47908 Details
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.
A denial-of-service vulnerability has been identified in the rs CORS middleware, specifically in versions 1.9.0 prior to 1.11.0. The issue arises when the middleware processes preflight requests that include an Access-Control-Request-Headers (ACRH) header with a value containing numerous commas. This processing leads to excessive heap allocations and can cause significant load on the server, potentially exhausting available memory and causing the server to crash. The vulnerability is particularly concerning because it can be exploited without authentication, and while many Web Application Firewalls (WAFs) might block such malicious requests, not all servers are protected by a WAF.
Users can update to rs CORS version 1.11.0 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Aug 6, 2025CISA-ADP
Assessed Aug 7, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/rs/cors/issues/170 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/rs/cors/pull/171 | [email protected] | Issue TrackingVendor |
| https://pkg.go.dev/vuln/GO-2024-2883 | [email protected] | AdvisoryBundleVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| github.com/rs/cors | >= 1.9.0, < 1.11.0 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Aug 7, 2025 | CVE Modified | CISA-ADP |
| Aug 6, 2025 | New CVE Received | [email protected] |
Volerion