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-xfwm
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1taDU1LWdxdmYteGZ3bc4AA9m0
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: 9 days ago
Updated: 9 days ago


Identifiers: GHSA-mh55-gqvf-xfwm
References: Repository: https://github.com/rs/cors
Blast Radius: 0.0

Affected Packages

go:github.com/rs/cors
Dependent packages: 11,242
Dependent 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