Ubuntu Security Notice
USN-9177-1
pyjwt vulnerability
Details
It was discovered that PyJWT incorrectly accepted non-canonical encodings of token signature segments. An attacker could possibly use this issue to bypass token revocation checks.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:22.04:LTS | pyjwt | All versions before 2.3.0-1ubuntu0.7 (fixed in 2.3.0-1ubuntu0.7) |
| Ubuntu:24.04:LTS | pyjwt | All versions before 2.7.0-1ubuntu0.5 (fixed in 2.7.0-1ubuntu0.5) |
| Ubuntu:26.04:LTS | pyjwt | All versions before 2.10.1-4ubuntu1.4 (fixed in 2.10.1-4ubuntu1.4) |