7.5high
Denial of service via malicious preflight requests in github.com/rs/cors
- Severity
- 7.5high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.67% (higher than 53% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Go
- Also known as
- GHSA-mh55-gqvf-xfwmGO-2024-2883
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| github.com/rs/cors | from 1.9.0 before 1.11.0 | CVE List |
| github.com/rs/cors (Go) | from 1.9.0 before 1.11.0 | GitHub Advisory Database, Go Vulnerability Database |
All scores
| CISA-ADP | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | medium rating |
Classification
What each source says
CVE List
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.
NVD (es)
El middleware genera una cantidad prohibitiva de asignaciones de montón al procesar solicitudes preflight maliciosas que incluyen un encabezado ACRH (Access-Control-Request-Headers) cuyo valor contiene muchas comas. Los atacantes pueden abusar de este comportamiento para generar una carga excesiva en el middleware/servidor con el fin de provocar una denegación de servicio.
References
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-47908 changed 2025-08-07 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-mh55-gqvf-xfwm changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2024-2883 changed 2026-02-04 | CC-BY-4.0 |
| NVD | CVE-2025-47908 changed 2026-06-17 | Public domain |