GHSA-w73w-5m7g-f7qc

    Dashboard / Vulnerabilities / GHSA-w73w-5m7g-f7qc

    GHSA-w73w-5m7g-f7qc

    Published: 18 May 2021Last Modified: 10 Sept 2026

    Summary: Authorization bypass in github.com/dgrijalva/jwt-go

    Details: jwt-go allows attackers to bypass intended access restrictions in situations with `[]string{}` for `m["aud"]` (which is allowed by the specification). Because the type assertion fails, "" is the value of aud. This is a security problem if the JWT token is presented to a service that lacks its own audience check. There is no patch available and users of jwt-go are advised to migrate to [golang-jwt](https://github.com/golang-jwt/jwt) at version 3.2.1

    Affected packages

    Package

    Name: github.com/dgrijalva/jwt-go

    Purl: pkg:golang/github.com/dgrijalva/jwt-go

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0.0.0-20150717181359-44718f8a89b0
    Fixed -None

    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
    GHSA-w73w-5m7g-f7qc | CVE-DB