ALAS2-2023-2198
Active ModerateALAS2-2023-2198 (medium): python-pygments
Related CVEs
CVE identifiers linked by this publisher.
Publisher relationship details 1 records
| CVE | Relationship | Publisher CVE field | Publisher evidence |
|---|---|---|---|
| CVE-2021-27291 | Listed by advisoryExact relationship valueadvisory_list | Publisher referencesExact field valuereferences | https://alas.aws.amazon.com/AL2/ALAS2-2023-2198.html |
Description
In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service. (CVE-2021-27291)
Solution
Run yum update python-pygments or yum update --advisory ALAS2-2023-2198 to update your system.
Affected packages
Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.
Shared package data
Applies to all 2 occurrences-
1python-pygments
Occurrence-specific details
- Architecture
- noarch
Replacement RPMs
- python-pygments-1.4-10.amzn2.0.1.noarch
-
2python-pygments
Occurrence-specific details
- Architecture
- src
Replacement RPMs
- python-pygments-1.4-10.amzn2.0.1.src
CVSS assessments
Publisher supplied scores and vectors; these do not replace the advisory severity above.
No CVSS assessments were provided.
Publisher references
2- CVE-2021-27291 https://access.redhat.com/security/cve/CVE-2021-27291
- CVE-2021-27291 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-27291
Provenance
- Schema version
- Unknown
- Parser version
- amazon-alas/1
- Severity origin
- publisher
| Kind | Locator | Source commit | Document hash | Parser | Fetched |
|---|---|---|---|---|---|
| html_page | https://alas.aws.amazon.com/AL2/ALAS2-2023-2198.html | Unknown | ae6f92526f3317440b6f7374933d273c0edd2053e93abc499adb69509f043dd1 | amazon-alas/1 | 2026-09-26T01:34:09Z |
| rss_entry | https://alas.aws.amazon.com/AL2/ALAS2-2023-2198.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |
| catalog_entry | https://alas.aws.amazon.com/AL2/ALAS2-2023-2198.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |