USN-5526-1: PyJWT vulnerability

Publication date

20 July 2022

Overview

PyJWT could allow signature forgery.


Packages

  • pyjwt - Python 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.

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

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

Learn more about how to get the fixes.

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

Ubuntu Release Package Version
22.04 jammy python3-jwt –  2.3.0-1ubuntu0.1
20.04 focal python3-jwt –  1.7.1-2ubuntu2.1
18.04 bionic python-jwt –  1.5.3+ds1-1ubuntu0.1
python3-jwt –  1.5.3+ds1-1ubuntu0.1

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›