Ubuntu 6614 Published by

A PyJWT security update has been released for Ubuntu Linux 18.04 LTS, 20.04 LTS, and 22.04 LTS.



USN-5526-1: PyJWT vulnerability


=========================================================================
Ubuntu Security Notice USN-5526-1
July 20, 2022

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

- Ubuntu 22.04 LTS
- Ubuntu 20.04 LTS
- Ubuntu 18.04 LTS

Summary:

PyJWT could allow signature forgery.

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

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.1

Ubuntu 20.04 LTS:
python3-jwt 1.7.1-2ubuntu2.1

Ubuntu 18.04 LTS:
python-jwt 1.5.3+ds1-1ubuntu0.1
python3-jwt 1.5.3+ds1-1ubuntu0.1

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

References:
  https://ubuntu.com/security/notices/USN-5526-1
CVE-2022-29217

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