UBUNTU-CVE-2019-25211

    Dashboard / Vulnerabilities / UBUNTU-CVE-2019-25211

    UBUNTU-CVE-2019-25211

    Published: 29 Jun 2024Last Modified: 4 Nov 2026
    Upstream:
    Aliases:

    Summary:

    Details: parseWildcardRules in Gin-Gonic CORS middleware before 1.6.0 mishandles a wildcard at the end of an origin string, e.g., https://example.community/* is allowed when the intention is that only https://example.com/* should be allowed, and http://localhost.example.com/* is allowed when the intention is that only http://localhost/* should be allowed.

    Affected packages

    Package

    Name: golang-github-gin-contrib-cors

    Purl: pkg:deb/ubuntu/golang-github-gin-contrib-cors?arch=source&distro=esm-apps%2Ffocal

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -1.3.0-2ubuntu0.1~esm1

    Affected versions

    1.3.0-2

    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
    UBUNTU-CVE-2019-25211 | CVE-DB