-
Notifications
You must be signed in to change notification settings - Fork 18
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
Dependency python-Jose appears to be unmaintained #54
Comments
Looks like that's now, found in python-ecdsa. Are there any plans to use the |
@bretterer any updates on this? Does Okta have a migration plan? Or should we switch to a new library altogether? |
Yet more vulnerabilities discovered in We could really do with a PyJWT build of this |
As `python-jose` seems to be unmaintained and has multiple vulnerabilities raised against it, I've replaced this with `pyjwt`. The implementation is like-for-like, as `pyjwt` seems to implement most of the methods used from `python-jose` identically. Updated unit test mock paths to new `pyjwt` locations. Updated `requirements.txt` to include `pyjwt` Would resolve okta#54
It looks like the implementation mitigates this vulnerability (at least from what I looked into for the AccessTokenVerifier) furthermore it then goes on to verify the signature and is explicit about using the RS256 algorithm (not leaving it up to the unsafe default of HS256) |
@developingAlex which vulnerability are you looking at exactly? There are a few. For example mpdavis/python-jose#344 is GHSA-cjwg-qfpm-7377, and as far as I understand, is not necessarily related to the algorithm chosen. |
Sorry I was referring only to this python-jose issue description. |
Hey - just a heads-up that it appears this library is using
python-jose
as a dependency, which hasn't been updated in ~2 years. Maintainers haven't shown any activity in GitHub for issues or pull requests in quite a while, either. It would probably be prudent to pivot to PyJWT or JWCrypto, before CVEs start cropping up against the abandoned library.The text was updated successfully, but these errors were encountered: