Ubuntu Security Notice
USN-5526-1
pyjwt vulnerability
Details
Aapo Oksman discovered that PyJWT incorrectly handled signatures constructed from SSH public keys. A remote attacker could use this to forge a JWT signature.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:18.04:LTS | pyjwt | All versions before 1.5.3+ds1-1ubuntu0.1 (fixed in 1.5.3+ds1-1ubuntu0.1) |
| Ubuntu:20.04:LTS | pyjwt | All versions before 1.7.1-2ubuntu2.1 (fixed in 1.7.1-2ubuntu2.1) |
| Ubuntu:22.04:LTS | pyjwt | All versions before 2.3.0-1ubuntu0.1 (fixed in 2.3.0-1ubuntu0.1) |