Ubuntu 16.04 LTS / 17.04 : pyjwt vulnerability (USN-3407-1)
Medium Nessus Plugin ID 102857
SynopsisThe remote Ubuntu host is missing one or more security-related patches.
DescriptionIt 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.
SolutionUpdate the affected python-jwt and / or python3-jwt packages.