Ubuntu 6333 Published by

A PyJWT regression update has been released for Ubuntu Linux 22.04 LTS.



USN-5526-2: PyJWT regression


=========================================================================
Ubuntu Security Notice USN-5526-2
August 17, 2022

pyjwt regression
=========================================================================
A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 22.04 LTS

Summary:

USN-5526-1 introduced a regression in PyJWT.

Software Description:
- pyjwt: Python 3 implementation of JSON Web Token

Details:

USN-5526-1 fixed vulnerabilities in PyJWT. Unfortunately this caused a
regression by incrementing the internal package version number on Ubuntu
22.04 LTS. This update fixes the problem.

We apologize for the inconvenience.

Original advisory 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.

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 22.04 LTS:
python3-jwt 2.3.0-1ubuntu0.2

In general, a standard system update will make all the necessary changes.

References:
  https://ubuntu.com/security/notices/USN-5526-2
  https://ubuntu.com/security/notices/USN-5526-1
  https://launchpad.net/bugs/1986487

Package Information:
  https://launchpad.net/ubuntu/+source/pyjwt/2.3.0-1ubuntu0.2