[USN-5526-1] PyJWT vulnerability

Alex Murray alex.murray at canonical.com
Wed Jul 20 01:39:38 UTC 2022


==========================================================================
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 524 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-security-announce/attachments/20220720/ee62eba0/attachment.sig>


More information about the ubuntu-security-announce mailing list