Ubuntu 16.04 LTS / 17.04 : pyjwt vulnerability (USN-3407-1)

Medium Nessus Plugin ID 102857


The remote Ubuntu host is missing one or more security-related patches.


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.

Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.


Update the affected python-jwt and / or python3-jwt packages.

Plugin Details

Severity: Medium

ID: 102857

File Name: ubuntu_USN-3407-1.nasl

Version: $Revision: 3.3 $

Type: local

Agent: unix

Published: 2017/08/31

Modified: 2018/01/30

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 5

Temporal Score: 4.1

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:N

Temporal Vector: CVSS2#E:F/RL:OF/RC:ND


Base Score: 7.5

Temporal Score: 6.9

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Temporal Vector: CVSS:3.0/E:F/RL:O/RC:X

Vulnerability Information

CPE: p-cpe:/a:canonical:ubuntu_linux:python-jwt, p-cpe:/a:canonical:ubuntu_linux:python3-jwt, cpe:/o:canonical:ubuntu_linux:16.04, cpe:/o:canonical:ubuntu_linux:17.04

Required KB Items: Host/cpu, Host/Ubuntu, Host/Ubuntu/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2017/08/30

Reference Information

CVE: CVE-2017-11424

OSVDB: 142281

USN: 3407-1