USN-3407-1: PyJWT vulnerability

Publication date

30 August 2017

Overview

PyJWT could be made to crash if it received specially crafted input.


Packages

  • pyjwt - Python implementation of JSON Web Token

Details

It was discovered that a vulnerability in PyJWT doesn't check
invalid_strings properly for some public keys. A remote attacker
could take advantage of a key confusion to craft JWTs from scratch.

It was discovered that a vulnerability in PyJWT doesn't check
invalid_strings properly for some public keys. A remote attacker
could take advantage of a key confusion to craft JWTs from scratch.

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
17.04 zesty python-jwt –  1.4.2-1ubuntu0.1
python3-jwt –  1.4.2-1ubuntu0.1
16.04 xenial python-jwt –  1.3.0-1ubuntu0.1
python3-jwt –  1.3.0-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 ›