GO-2020-0017

Authorization bypass in github.com/dgrijalva/jwt-go

En bref

Publiée
Mise à jour
CVE
CVE-2020-26160
Alias
GHSA-w73w-5m7g-f7qc, SNYK-GOLANG-GITHUBCOMDGRIJALVAJWTGO-596515

Description

If a JWT contains an audience claim with an array of strings, rather than a single string, and MapClaims.VerifyAudience is called with req set to false, then audience verification will be bypassed, allowing an invalid set of audiences to be provided.

Paquets affectés

PaquetVersions
Go · github.com/dgrijalva/jwt-gointroduced 0.0.0-20150717181359-44718f8a89b0
Go · github.com/dgrijalva/jwt-go/v4introduced 0, fixed 4.0.0-preview1

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database