ADVISORIES

Ubuntu Security Notice

USN-4897-1

pygments vulnerability

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.

Affected packages

EcosystemPackageAffected versions
Ubuntu:16.04:LTSpygments
All versions before 2.1+dfsg-1ubuntu0.2 (fixed in 2.1+dfsg-1ubuntu0.2)
Ubuntu:18.04:LTSpygments
All versions before 2.2.0+dfsg-1ubuntu0.2 (fixed in 2.2.0+dfsg-1ubuntu0.2)
Ubuntu:20.04:LTSpygments
All versions before 2.3.1+dfsg-1ubuntu2.2 (fixed in 2.3.1+dfsg-1ubuntu2.2)

References