CVE-2020-26160

See a problem?
Source
https://nvd.nist.gov/vuln/detail/CVE-2020-26160
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-26160.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-26160
Aliases
Related
Published
2020-09-30T18:15:27Z
Modified
2024-07-15T22:00:19.876487Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/dgrijalva/jwt-go

Affected ranges

Type
GIT
Repo
https://github.com/dgrijalva/jwt-go
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected

Affected versions

v1.*

v1.0.0
v1.0.1
v1.0.2

v2.*

v2.0.0
v2.1.0
v2.2.0
v2.3.0
v2.4.0
v2.5.0
v2.6.0
v2.7.0

v3.*

v3.0.0
v3.1.0
v3.2.0