ALPINE-CVE-2021-20270

Advisory lineage Upstream: 1 Downstream: 0
Upstream
Published: 23 Mar 2021, 17:15
Last modified:03 Dec 2025, 22:50

Vulnerability Summary

Overall Risk (default)
medium
30/100
CVSS Score
7.5 HIGH
3.1 (osv_alpine)
EPSS Score
No data
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

23 Mar 2021, 17:15
Published
Vulnerability first disclosed
03 Dec 2025, 22:50
Last Modified
Vulnerability information updated

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.

CVSS Metrics

  • v3.1HIGHScore: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected Systems

  • alpinepy3-pygments

    < 2.7.4-r0 | < 2.7.4-r0 | < 2.7.4-r0 | < 2.7.4-r0 | < 2.7.4-r0 | < 2.7.4-r0 | < 2.7.4-r0 | < 2.7.4-r0 | < 2.7.4-r0 | < 2.7.4-r0

References (1)