GO-2020-0004

    Dashboard / Vulnerabilities / GO-2020-0004

    GO-2020-0004

    Published: 14 Apr 2021Last Modified: 20 May 2024

    Summary: Authentication bypass in github.com/nanobox-io/golang-nanoauth

    Details: If any of the ListenAndServe functions are called with an empty token, token authentication is disabled globally for all listeners. Also, a minor timing side channel was present allowing attackers with very low latency and able to make many requests to potentially recover the token.

    Affected packages

    Package

    Name: github.com/nanobox-io/golang-nanoauth

    Purl: pkg:golang/github.com/nanobox-io/golang-nanoauth

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0.0.0-20160722212129-ac0cc4484ad4
    Fixed -0.0.0-20200131131040-063a3fb69896

    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-0004 | CVE-DB