GO-2020-0017

Source
https://pkg.go.dev/vuln/GO-2020-0017
Import Source
https://vuln.go.dev/ID/GO-2020-0017.json
Aliases
Published
2021-04-14T20:04:52Z
Modified
2023-11-08T04:03:14.439305Z
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

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-20150717181359-44718f8a89b0

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/dgrijalva/jwt-go",
            "symbols": [
                "MapClaims.VerifyAudience"
            ]
        }
    ]
}

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

Affected ranges

Type
SEMVER
Events
Introduced
0The exact introduced commit is unknown
Fixed
4.0.0-preview1

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/dgrijalva/jwt-go/v4",
            "symbols": [
                "MapClaims.VerifyAudience"
            ]
        }
    ]
}