logo

CVE-2025-47908 github.com/rs/cors

Package

Manager: go
Name: github.com/rs/cors
Vulnerable Version: >=1.9.0 <1.11.0

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P/RL:U/RC:R

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

EPSS: 0.00054 pctl0.16678

Details

Denial 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.

Metadata

Created: 2024-07-05T19:42:48Z
Modified: 2025-08-06T22:10:52Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/07/GHSA-mh55-gqvf-xfwm/GHSA-mh55-gqvf-xfwm.json
CWE IDs: ["CWE-770"]
Alternative ID: GHSA-mh55-gqvf-xfwm
Finding: F002
Auto approve: 1