GO-2020-0048

    Dashboard / Vulnerabilities / GO-2020-0048

    GO-2020-0048

    Published: 14 Apr 2021Last Modified: 20 May 2024

    Summary: Denial of service in github.com/antchfx/xmlquery

    Details: LoadURL does not check the Content-Type of loaded resources, which can cause a panic due to nil pointer deference if the loaded resource is not XML. If user supplied URLs are loaded, this may be used as a denial of service vector.

    Affected packages

    Package

    Name: github.com/antchfx/xmlquery

    Purl: pkg:golang/github.com/antchfx/xmlquery

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -1.3.1

    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-2020-0048 | CVE-DB