hoch7.5
CVE-2021-20270
Infinite Loop in Pygments
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| pip | Pygments | >= 1.5, < 2.7.4 | 2.7.4 |
Betroffene Produkte
| Hersteller | Produkt | Betroffene Versionen | Behoben durch |
|---|---|---|---|
| Debian | Debian Linux | Versionen 9.0, 10.0 | Kein Hersteller-Update aufgeführt |
| Fedoraproject | Fedora | Version 33 | Kein Hersteller-Update aufgeführt |
| Microsoft | Azure Linux 3.0 ARM | Onlinedienst | Vom Hersteller behoben, nichts zu tun |
| Microsoft | Azure Linux 3.0 x64 | Onlinedienst | Vom Hersteller behoben, nichts zu tun |
| Pygments | Pygments | ab 1.5 bis einschließlich 2.7.3 | Kein Hersteller-Update aufgeführt |
| Red Hat | Enterprise Linux | Versionen 7.0, 8.0 | Kein Hersteller-Update aufgeführt |
| Red Hat | Openshift Container Platform | Versionen 3.11, 4.0 | Kein Hersteller-Update aufgeführt |
| Red Hat | Openstack Platform | Version 10.0 | Kein Hersteller-Update aufgeführt |
| Red Hat | Software Collections | Alle Versionen | Kein Hersteller-Update aufgeführt |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1922136
- https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html
- https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html
- https://www.debian.org/security/2021/dsa-4889
- https://www.oracle.com/security-alerts/cpuoct2021.html
- https://github.com/advisories/GHSA-9w8r-397f-prfh
- https://nvd.nist.gov/vuln/detail/CVE-2021-20270
- https://github.com/pygments/pygments/commit/f91804ff4772e3ab41f46e28d370f57898700333
- https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2021-140.yaml