CVE-2020-26160

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductJwt-go
PublishedSep 30, 2020
First seenSep 30, 2020

How to fix

Update
  • github.com/dgrijalva/jwt-go/v44.0.0-preview1 or later

Affected products

ProductAffected versionsFixed in
jwt-go_project jwt-gov ≤ 3.2.0—
github.com/dgrijalva/jwt-goGo0.0.0-20150717181359-44718f8a89b0 ≤ v ≤ 3.2.0, 0.0.0-20150717181359-44718f8a89b0 ≤ v—
github.com/dgrijalva/jwt-go/v4Gov < 4.0.0-preview14.0.0-preview1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.