logo

GHSA-vh9x-phq6-fx54 github.com/rs/cors

Package

Manager: go
Name: github.com/rs/cors
Vulnerable Version: <0

Severity

Level: Low

CVSS v3.1: N/A

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

EPSS: N/A pctlN/A

Details

Duplicate Advisory: Denial of service via malicious preflight requests in github.com/rs/cors ### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-mh55-gqvf-xfwm. This link is maintained to preserve external references. ### Original 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.

Metadata

Created: 2025-08-06T21:31:40Z
Modified: 2025-08-06T22:09:08Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/08/GHSA-vh9x-phq6-fx54/GHSA-vh9x-phq6-fx54.json
CWE IDs: ["CWE-770"]
Alternative ID: N/A
Finding: N/A
Auto approve: 0