Skip to main content
← All vulnerabilities
CVE-2020-26160GHSA-W73W-5M7G-F7QCGO-2020-0017SNYK-GOLANG-GITHUBCOMDGRIJALVAJWTGO-596515

jwt-go before 4.0.0-preview1 allows attackers to bypass intended access restrictions in situations with []string{} for m["aud"] (which is al

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.0.0-preview1
1 proof of concept on GitHub

Summary

jwt-go before 4.0.0-preview1 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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • github.com/dgrijalva/jwt-goGo

    From 0.0.0-20150717181359-44718f8a89b0 · through 3.2.0

  • github.com/dgrijalva/jwt-go/v4Go

    fixed in 4.0.0-preview1

  • github.com/dgrijalva/jwt-goGo

    From 0.0.0-20150717181359-44718f8a89b0

References 3

GitHub · dgrijalva/jwt-go

snyk.io

GitHub · mlbrilliance/aurora-demo-lockfile