Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible CVE-2020-26160 #621

Open
vikstrom opened this issue Feb 23, 2024 · 0 comments
Open

Possible CVE-2020-26160 #621

vikstrom opened this issue Feb 23, 2024 · 0 comments
Assignees
Labels
bug Something isn't working high-priority

Comments

@vikstrom
Copy link

Possible authentication, or access, bypass in required package:
github.com/dgrijalva/jwt-go v3.2.0

https://nvd.nist.gov/vuln/detail/CVE-2020-26160

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.

I've not been able to exploit it but it's probably best to update if possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high-priority
Projects
None yet
Development

No branches or pull requests

3 participants