github.com/dgrijalva/jwt-go
Affected
- introduced
0.0.0-20150717181359-44718f8a89b0, last affected3.2.0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: CVE-2020-26160, GO-2020-0017, SNYK-GOLANG-GITHUBCOMDGRIJALVAJWTGO-596515
Authorization bypass in github.com/dgrijalva/jwt-go
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 at version 3.2.1
High Basis: The source's own band: HIGH
0.0.0-20150717181359-44718f8a89b0, last affected 3.2.0 (semver)None listed
No fixed version is listed.
0, fixed 4.0.0-preview1 (semver)4.0.0-preview1
4.0.0-preview1go get github.com/dgrijalva/jwt-go/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0