CVEfocus › CVE database › CVE-2020-26160

CVE-2020-26160

CVSS 7.5 HighEPSS 2.2% (higher than 83% of CVEs)Published 2020-09-30Updated 2024-08-04Assigner: mitre

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.

What to do

Fixed builds are available from Alpine, Debian, Go: see the table below for the fixed version per release.

Go, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

13Fixed
2Fix pending
3Under investigation
6Will not fix
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10golang-github-coreos-discovery-etcd-ioFix pendingUBUNTU-CVE-2020-26160
Ubuntu 26.04golang-github-coreos-discovery-etcd-ioUnder investigationUBUNTU-CVE-2020-26160
Ubuntu 25.10golang-github-coreos-discovery-etcd-ioWill not fix
as of 2020-10-02, the proposed patches have not been accepted into the upstream tree. juju-core doesn't use jwt-go in a way that exposes the vulnerability…
UBUNTU-CVE-2020-26160
Ubuntu 24.04golang-github-coreos-discovery-etcd-ioUnder investigationUBUNTU-CVE-2020-26160
Ubuntu 22.04golang-github-coreos-discovery-etcd-ioUnder investigationUBUNTU-CVE-2020-26160
Ubuntu 22.04golang-github-dgrijalva-jwt-goNot affected
vulnerable_code_not_present
Ubuntu 20.04golang-github-coreos-discovery-etcd-ioWill not fix
as of 2020-10-02, the proposed patches have not been accepted into the upstream tree. juju-core doesn't use jwt-go in a way that exposes the vulnerability…
UBUNTU-CVE-2020-26160
Ubuntu 20.04golang-github-dgrijalva-jwt-goWill not fix
as of 2020-10-02, the proposed patches have not been accepted into the upstream tree. juju-core doesn't use jwt-go in a way that exposes the vulnerability…
UBUNTU-CVE-2020-26160
Ubuntu 18.04golang-github-dgrijalva-jwt-goWill not fix
as of 2020-10-02, the proposed patches have not been accepted into the upstream tree. juju-core doesn't use jwt-go in a way that exposes the vulnerability…
UBUNTU-CVE-2020-26160
Ubuntu 16.04golang-github-dgrijalva-jwt-goWill not fix
as of 2020-10-02, the proposed patches have not been accepted into the upstream tree. juju-core doesn't use jwt-go in a way that exposes the vulnerability…
UBUNTU-CVE-2020-26160
Ubuntu 16.04juju-coreNot affected
vulnerable_code_not_present
Ubuntu 14.04juju-coreWill not fix
as of 2020-10-02, the proposed patches have not been accepted into the upstream tree. juju-core doesn't use jwt-go in a way that exposes the vulnerability…
Debian 12golang-github-dgrijalva-jwt-goFixed3.2.0-3DEBIAN-CVE-2020-26160
Alpine Linux 3.24giteaFixed1.14.6-r0ALPINE-CVE-2020-26160
Alpine Linux 3.23giteaFixed1.14.6-r0ALPINE-CVE-2020-26160
Alpine Linux 3.22giteaFixed1.14.6-r0ALPINE-CVE-2020-26160
Alpine Linux 3.21giteaFixed1.14.6-r0ALPINE-CVE-2020-26160
Alpine Linux 3.20giteaFixed1.14.6-r0ALPINE-CVE-2020-26160
Alpine Linux 3.19giteaFixed1.14.6-r0ALPINE-CVE-2020-26160
Alpine Linux 3.18giteaFixed1.14.6-r0ALPINE-CVE-2020-26160
Alpine Linux 3.17giteaFixed1.14.6-r0ALPINE-CVE-2020-26160
Alpine Linux 3.16giteaFixed1.14.6-r0ALPINE-CVE-2020-26160
Alpine Linux 3.15giteaFixed1.14.6-r0ALPINE-CVE-2020-26160
Alpine Linux 3.14giteaFixed1.14.6-r0ALPINE-CVE-2020-26160
Go librarygithub.com/dgrijalva/jwt-goFix pendingGO-2020-0017
Go librarygithub.com/dgrijalva/jwt-go/v4Fixed4.0.0-preview1GO-2020-0017

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.