pysec-2021-140
Vulnerability from pysec
Published
2021-03-23 17:15
Modified
2021-08-27 03:22
Details
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.
Impacted products
Name | purl |
---|---|
pygments | pkg:pypi/pygments |
Aliases
{ affected: [ { package: { ecosystem: "PyPI", name: "pygments", purl: "pkg:pypi/pygments", }, ranges: [ { events: [ { introduced: "1.5", }, { fixed: "2.7.4", }, ], type: "ECOSYSTEM", }, ], versions: [ "1.5", "1.6", "1.6rc1", "2.0", "2.0.1", "2.0.2", "2.0rc1", "2.1", "2.1.1", "2.1.2", "2.1.3", "2.2.0", "2.3.0", "2.3.1", "2.4.0", "2.4.1", "2.4.2", "2.5.1", "2.5.2", "2.6.0", "2.6.1", "2.7.0", "2.7.1", "2.7.2", "2.7.3", ], }, ], aliases: [ "CVE-2021-20270", "GHSA-9w8r-397f-prfh", ], details: "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.", id: "PYSEC-2021-140", modified: "2021-08-27T03:22:17.263376Z", published: "2021-03-23T17:15:00Z", references: [ { type: "REPORT", url: "https://bugzilla.redhat.com/show_bug.cgi?id=1922136", }, { type: "ADVISORY", url: "https://www.debian.org/security/2021/dsa-4889", }, { type: "WEB", url: "https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html", }, { type: "WEB", url: "https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html", }, { type: "ADVISORY", url: "https://github.com/advisories/GHSA-9w8r-397f-prfh", }, ], }
Log in or create an account to share your comment.
Security Advisory comment format.
This schema specifies the format of a comment related to a security advisory.
Title of the comment
Description of the comment
Loading…
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.