GO-2020-0049

    Dashboard / Vulnerabilities / GO-2020-0049

    GO-2020-0049

    Published: 14 Apr 2021Last Modified: 20 May 2024

    Summary: Improper input validation in github.com/justinas/nosurf

    Details: Due to improper validation of caller input, validation is silently disabled if the provided expected token is malformed, causing any user supplied token to be considered valid.

    Affected packages

    Package

    Name: github.com/justinas/nosurf

    Purl: pkg:golang/github.com/justinas/nosurf

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -1.1.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-0049 | CVE-DB