Vulnerability · Published Sep 30, 2020 · Assigned by mitre

CVE-2020-26160

High 7.5

In plain English

A high-severity security flaw in the gitea package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.2% (higher than 82% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)2.2%top 17.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack tooling1Public PoC

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20gitea1.14.6-r0ALPINE-CVE-2020-26160
Alpine:v3.21gitea1.14.6-r0ALPINE-CVE-2020-26160
Alpine:v3.22gitea1.14.6-r0ALPINE-CVE-2020-26160
Alpine:v3.23gitea1.14.6-r0ALPINE-CVE-2020-26160
Alpine:v3.24gitea1.14.6-r0ALPINE-CVE-2020-26160
Debian:12golang-github-dgrijalva-jwt-go3.2.0-3DEBIAN-CVE-2020-26160
Gogithub.com/dgrijalva/jwt-gono fix listedGO-2020-0017
Gogithub.com/dgrijalva/jwt-gono fix listedGHSA-w73w-5m7g-f7qc
Gogithub.com/dgrijalva/jwt-go/v44.0.0-preview1GO-2020-0017
Gogithub.com/dgrijalva/jwt-go/v44.0.0-preview1GHSA-w73w-5m7g-f7qc
Ubuntu:22.04:LTSgolang-github-coreos-discovery-etcd-iono fix listedUBUNTU-CVE-2020-26160
Ubuntu:24.04:LTSgolang-github-coreos-discovery-etcd-iono fix listedUBUNTU-CVE-2020-26160
Ubuntu:25.10golang-github-coreos-discovery-etcd-iono fix listedUBUNTU-CVE-2020-26160
Ubuntu:26.04:LTSgolang-github-coreos-discovery-etcd-iono fix listedUBUNTU-CVE-2020-26160
Ubuntu:26.10golang-github-coreos-discovery-etcd-iono fix listedUBUNTU-CVE-2020-26160

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References