GO-2024-2883

    Dashboard / Vulnerabilities / GO-2024-2883

    GO-2024-2883

    Published: 2 Jul 2024Last Modified: 4 Feb 2026

    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.

    Affected packages

    Package

    Name: github.com/rs/cors

    Purl: pkg:golang/github.com/rs/cors

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 1.9.0
    Fixed -1.11.0

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GO-2024-2883 | CVE-DB