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

Switch from unsupported github.com/dgrijalva/jwt-go #562

Open
mariash opened this issue Nov 22, 2021 · 0 comments
Open

Switch from unsupported github.com/dgrijalva/jwt-go #562

mariash opened this issue Nov 22, 2021 · 0 comments

Comments

@mariash
Copy link

mariash commented Nov 22, 2021

dgrijalva/jwt-go#428

From Dependabots :

jwt-go 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. There is no patch available and users of jwt-go are advised to migrate to golang-jwt at version 3.2.1

mariash added a commit to cloudfoundry/cf-networking-release that referenced this issue Nov 22, 2021
It depends on github.com/amalgam8/amalgam8 which depends on unsupported
github.com/dgrijalva/jwt-go that has security issues. Remove it until
github.com/amalgam8/amalgam8 resolves the issue:
amalgam8/amalgam8#562

[#179909920](https://www.pivotaltracker.com/story/show/179909920)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant