CVE-2021-20270
Published: 09 March 2021
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.
Priority
CVSS 3 base score: 7.5
Status
Package | Release | Status |
---|---|---|
pygments Launchpad, Ubuntu, Debian |
Upstream |
Pending
(2.7.4)
|
Ubuntu 21.04 (Hirsute Hippo) |
Released
(2.7.1+dfsg-2)
|
|
Ubuntu 20.10 (Groovy Gorilla) |
Released
(2.3.1+dfsg-4ubuntu0.1)
|
|
Ubuntu 20.04 LTS (Focal Fossa) |
Released
(2.3.1+dfsg-1ubuntu2.1)
|
|
Ubuntu 18.04 LTS (Bionic Beaver) |
Released
(2.2.0+dfsg-1ubuntu0.1)
|
|
Ubuntu 16.04 LTS (Xenial Xerus) |
Released
(2.1+dfsg-1ubuntu0.1)
|
|
Ubuntu 14.04 ESM (Trusty Tahr) |
Needs triage
|
|
Patches: Upstream: https://github.com/pygments/pygments/commit/f91804ff4772e3ab41f46e28d370f57898700333 |