Is any action required for CVE-2022-29217 (PyJWT security vulnerability) #8499
-
This security vulnerability, involving algorithms used for jwt, was recently reported: https://nvd.nist.gov/vuln/detail/CVE-2022-29217 It says:
Could somebody confirm that a drf project using I understand that the django-rest-framework-jwt project is no longer maintained, and that some alternatives include drf-jwt and djangorestframework-simplejwt. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I'll attempt to answer my question 😄 Looks like djangorestframework-jwt does indeed apply the Based on my understanding, if the setting is present, it should be ok. But any confirmation is welcome :) |
Beta Was this translation helpful? Give feedback.
I'll attempt to answer my question 😄
Looks like djangorestframework-jwt does indeed apply the
JWT_ALGORITHM
setting inside itsjwt_encode_handler
andjwt_decode_handler
functions.Based on my understanding, if the setting is present, it should be ok.
But any confirmation is welcome :)