Advisory

GHSA-mh55-gqvf-xfwm

Also known as: CVE-2025-47908, GO-2024-2883

Summary

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

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-07-05 19:42 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

github.com/rs/cors

Go · All systems

Affected

  • introduced 1.9.0, fixed 1.11.0 (semver)

Fixed versions

1.11.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences