Skip to content
This repository was archived by the owner on Mar 20, 2024. It is now read-only.

Conversation

novalagung
Copy link
Contributor

refer to CVE-2020-26160

it's recommended to use github.com/golang-jwt/jwt instead of github.com/dgrijalva/jwt-go. the lib is backward compatible. it is actually the cloned version of dgrijalva's and actively maintained.

@abdulajet
Copy link

Thanks for the PR @novalagung. I think we are missing a change in the jwt_test file?

@novalagung
Copy link
Contributor Author

@abdulajet thanks for responding. I'll update the test, will ping you once it's ready

@novalagung
Copy link
Contributor Author

novalagung commented Dec 1, 2021

@abdulajet please retest. I pushed some updates.

The JWT lib is changed to github.com/golang-jwt/jwt@v3.2.1. That specific version includes an update that patches the CVE-2020-26160

@moficodes
Copy link
Contributor

@novalagung thanks for the PR.

@moficodes moficodes merged commit 821b439 into Vonage:master Dec 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants