Your submission was sent successfully! Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

CVE-2021-20270

Published: 9 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

Medium

Cvss 3 Severity Score

7.5

Score breakdown

Status

Package Release Status
pygments
Launchpad, Ubuntu, Debian
bionic
Released (2.2.0+dfsg-1ubuntu0.1)
focal
Released (2.3.1+dfsg-1ubuntu2.1)
groovy
Released (2.3.1+dfsg-4ubuntu0.1)
hirsute
Released (2.7.1+dfsg-2)
impish
Released (2.7.1+dfsg-2)
jammy
Released (2.7.1+dfsg-2)
kinetic
Released (2.7.1+dfsg-2)
lunar
Released (2.7.1+dfsg-2)
trusty
Released (1.6+dfsg-1ubuntu1.1+esm1)
Available with Ubuntu Pro or Ubuntu Pro (Infra-only)
upstream
Released (2.7.4)
xenial
Released (2.1+dfsg-1ubuntu0.1)
Patches:
upstream: https://github.com/pygments/pygments/commit/f91804ff4772e3ab41f46e28d370f57898700333

Severity score breakdown

Parameter Value
Base score 7.5
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Scope Unchanged
Confidentiality None
Integrity impact None
Availability impact High
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H