Insecure encryption algorithm In pyjwt
Description
PyJWT is a JSON Web Token implementation in Python. Prior to 2.13.0, when the verifier is decoding JSON Web Tokens, while supporting both asymmetric and HMAC algorithms, the library does not validate use of JSON Web Keys in HMAC algorithm, allowing attacker to use the issuer public key as the secret key for HMAC algorithm. This vulnerability is fixed in 2.13.0.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Component | Affected version | Patched versions |
|---|---|---|---|
rpm rhel10 | 0:4.16.0-21.el10_2.2 | ||
pypi | 2.13.0 | ||
debian 13 | - | ||
debian 14 | 2.13.0-1 | ||
debian 12 | - | ||
rpm rhel9 | 0:4.10.0-110.el9_8.3 | ||
rpm rhel10.0 | 0:4.16.0-5.el10_0.11 | ||
rpm rhel9.6 | 0:4.10.0-86.el9_6.18 |
Aliases
1. 2. 3. 4. 5. 6. 7.
References
1. 2.