GO-2023-1792

    Dashboard / Vulnerabilities / GO-2023-1792

    GO-2023-1792

    Published: 8 Jun 2023Last Modified: 20 May 2024

    Summary: Insecure wildcard CORS policy in github.com/rs/cors

    Details: The CORS handler actively converts a wildcard CORS policy into reflecting an arbitrary Origin header value, which is incompatible with the CORS security design, and could lead to CORS misconfiguration security problems.

    Affected packages

    Package

    Name: github.com/rs/cors

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

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -1.5.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-2023-1792 | CVE-DB