Vulnerability Description
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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Jwt-Go Project | Jwt-Go | <= 3.2.0 |
Related Weaknesses (CWE)
References
- https://github.com/dgrijalva/jwt-go/pull/426PatchThird Party Advisory
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMDGRIJALVAJWTGO-596515Third Party Advisory
- https://github.com/dgrijalva/jwt-go/pull/426PatchThird Party Advisory
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMDGRIJALVAJWTGO-596515Third Party Advisory
FAQ
What is CVE-2020-26160?
CVE-2020-26160 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 fail...
How severe is CVE-2020-26160?
CVE-2020-26160 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2020-26160?
Check the references section above for vendor advisories and patch information. Affected products include: Jwt-Go Project Jwt-Go.