Ubuntu Security Notice
USN-8133-1
pyjwt vulnerability
Details
It was discovered that PyJWT did not validate the critical header parameter, contrary to the RFC specification expectations. A remote attacker could possibly use this issue to bypass certain authentication checks and restrictions.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:16.04:LTS | pyjwt | All versions before 1.3.0-1ubuntu0.1+esm1 (fixed in 1.3.0-1ubuntu0.1+esm1) |
| Ubuntu:Pro:18.04:LTS | pyjwt | All versions before 1.5.3+ds1-1ubuntu0.1+esm1 (fixed in 1.5.3+ds1-1ubuntu0.1+esm1) |
| Ubuntu:Pro:20.04:LTS | pyjwt | All versions before 1.7.1-2ubuntu2.1+esm1 (fixed in 1.7.1-2ubuntu2.1+esm1) |
| Ubuntu:22.04:LTS | pyjwt | All versions before 2.3.0-1ubuntu0.3 (fixed in 2.3.0-1ubuntu0.3) |
| Ubuntu:24.04:LTS | pyjwt | All versions before 2.7.0-1ubuntu0.1 (fixed in 2.7.0-1ubuntu0.1) |
| Ubuntu:25.10 | pyjwt | All versions before 2.10.1-2ubuntu0.1 (fixed in 2.10.1-2ubuntu0.1) |