PyJWT: Asymmetric-PEM detection bypass: whitespace/line-ending-mutated public keys skip the HS/asymmetric confusion guard
What to do
- Upgrade to a fixed version: PyJWT 2.14.0.
- Redeploy and restart long-running processes so they load the fixed code.
Affected packages
PyJWT
- <= 2.13.0
- 2.14.0
Check your project: pip show PyJWT