Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS1taDU1LWdxdmYteGZ3bc4AA9m0
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.
Permalink: https://github.com/advisories/GHSA-mh55-gqvf-xfwmJSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1taDU1LWdxdmYteGZ3bc4AA9m0
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: 5 months ago
Updated: 5 months ago
Identifiers: GHSA-mh55-gqvf-xfwm
References:
- https://github.com/rs/cors/issues/170
- https://github.com/rs/cors/pull/171
- https://github.com/rs/cors/commit/4c32059b2756926619f6bf70281b91be7b5dddb2
- https://github.com/advisories/GHSA-mh55-gqvf-xfwm
Blast Radius: 0.0
Affected Packages
go:github.com/rs/cors
Dependent packages: 11,242Dependent repositories: 27,043
Downloads:
Affected Version Ranges: >= 1.9.0, < 1.11.0
Fixed in: 1.11.0
All affected versions: 1.9.0, 1.10.0, 1.10.1
All unaffected versions: 1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.7.0, 1.8.0, 1.8.1, 1.8.2, 1.8.3, 1.11.0, 1.11.1