vulnerability

Ubuntu: (Multiple Advisories) (CVE-2021-20270): Pygments vulnerability

Severity
5
CVSS
(AV:N/AC:L/Au:N/C:N/I:N/A:P)
Published
Mar 22, 2021
Added
Mar 23, 2021
Modified
Aug 18, 2025

Description

An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the "exception" keyword.

Solutions

ubuntu-pro-upgrade-python-pygmentsubuntu-pro-upgrade-python3-pygments
Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.