GO-2020-0017

Source
https://storage.googleapis.com/go-vulndb/ID/GO-2020-0017.json
Aliases
  • CVE-2020-26160
Published
2021-04-14T20:04:52Z
Modified
2022-05-13T18:33:00Z
Details

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.

References

Affected packages

Go / github.com/dgrijalva/jwt-go

github.com/dgrijalva/jwt-go

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-20150717181359-44718f8a89b0

Affected versions

Ecosystem specific

{
    "symbols": [
        "MapClaims.VerifyAudience"
    ]
}

Database specific

{
    "url": "https://pkg.go.dev/vuln/GO-2020-0017"
}

Go / github.com/dgrijalva/jwt-go/v4

github.com/dgrijalva/jwt-go/v4

Affected ranges

Type
SEMVER
Events
Introduced
0
Fixed
4.0.0-preview1

Affected versions

Ecosystem specific

{
    "symbols": [
        "MapClaims.VerifyAudience"
    ]
}

Database specific

{
    "url": "https://pkg.go.dev/vuln/GO-2020-0017"
}