CVE-2020-26160

Name
CVE-2020-26160
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.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
Third Party Advisory https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMDGRIJALVAJWTGO-596515
Patch https://github.com/dgrijalva/jwt-go/pull/426

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:jwt-go_project:jwt-go:*:*:*:*:*:*:*:* jwt-go >= None <= 3.2.0

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
gitea edge-community 1.14.6-r0 6543 <6543@obermui.de> fixed
gitea 3.22-community 1.14.6-r0 None fixed
gitea 3.21-community 1.14.6-r0 None fixed
gitea 3.20-community 1.14.6-r0 None fixed
gitea 3.19-community 1.14.6-r0 None fixed
gitea 3.18-community 1.14.6-r0 None fixed
gitea 3.17-community 1.14.6-r0 None fixed