CVE-2020-26160

Source
https://nvd.nist.gov/vuln/detail/CVE-2020-26160
Import Source
https://storage.googleapis.com/osv-test-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-10-12T06:24:04.834516Z
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

Debian:11 / golang-github-dgrijalva-jwt-go

Package

Name
golang-github-dgrijalva-jwt-go
Purl
pkg:deb/debian/golang-github-dgrijalva-jwt-go?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.2.0-3

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / golang-github-dgrijalva-jwt-go

Package

Name
golang-github-dgrijalva-jwt-go
Purl
pkg:deb/debian/golang-github-dgrijalva-jwt-go?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.2.0-3

Ecosystem specific

{
    "urgency": "not yet assigned"
}

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