Skip to main content
← All vulnerabilities
CVE-2025-47908GHSA-MH55-GQVF-XFWMGO-2024-2883

Denial of service via malicious preflight requests in github.com/rs/cors

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.11.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • github.com/rs/cors

    From 1.9.0 · fixed in 1.11.0

  • github.com/rs/corsGo

    From 1.9.0 · fixed in 1.11.0

References 3

GitHub · rs/cors

pkg.go.dev