USN-4897-1: Pygments vulnerability
30 March 2021
Pygments could be made to hang if it opened a specially crafted file.
Releases
Packages
- pygments - Generic syntax highlighter
Details
Ben Caller discovered that Pygments incorrectly handled parsing certain
files. If a user or automated system were tricked into parsing a specially
crafted file, a remote attacker could cause Pygments to hang or consume
resources, resulting in a denial of service.
Update instructions
The problem can be corrected by updating your system to the following package versions:
Ubuntu 20.10
Ubuntu 20.04
Ubuntu 18.04
Ubuntu 16.04
In general, a standard system update will make all the necessary changes.
References
Related notices
- USN-4897-2: python-pygments, python3-pygments, pygments