CVE-2025-47908
HIGH 7.5CVSS 3.1Denial of service via malicious preflight requests in github.com/rs/cors
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.
- Published
- 6 Aug 2025
- Last modified
- 10 Sep 2026
- Assigned by
- security@golang.org
- NVD status
- Deferred
- Weakness
- CWE-770
- Also known as
- GHSA-mh55-gqvf-xfwmGO-2024-2883
- Sources
- NVDJSONOSV GHSA-mh55-gqvf-xfwmJSONOSV GO-2024-2883JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/rs/cors | >= 1.9.0, < 1.11.0 | 1.11.0 |
References
- https://github.com/rs/cors/issues/170 · WEB, REPORT
- https://github.com/rs/cors/pull/171 · WEB, FIX
- https://pkg.go.dev/vuln/GO-2024-2883 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-47908 · ADVISORY
- https://github.com/rs/cors/commit/4c32059b2756926619f6bf70281b91be7b5dddb2 · WEB
- https://github.com/rs/cors · PACKAGE
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 6 Aug 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 2 Jul 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 5 Jul 2024)