CVE-2021-27291
Publication date 17 March 2021
Last updated 24 July 2024
Ubuntu priority
Cvss 3 Severity Score
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.
Status
Package | Ubuntu Release | Status |
---|---|---|
eric | 24.10 oracular |
Vulnerable
|
24.04 LTS noble |
Vulnerable
|
|
22.04 LTS jammy |
Vulnerable
|
|
20.04 LTS focal |
Needs evaluation
|
|
18.04 LTS bionic |
Needs evaluation
|
|
16.04 LTS xenial |
Needs evaluation
|
|
14.04 LTS trusty | Not in release | |
pygments | 24.10 oracular |
Fixed 2.7.1+dfsg-2ubuntu1
|
24.04 LTS noble |
Fixed 2.7.1+dfsg-2ubuntu1
|
|
22.04 LTS jammy |
Fixed 2.7.1+dfsg-2ubuntu1
|
|
20.04 LTS focal |
Fixed 2.3.1+dfsg-1ubuntu2.2
|
|
18.04 LTS bionic |
Fixed 2.2.0+dfsg-1ubuntu0.2
|
|
16.04 LTS xenial |
Fixed 2.1+dfsg-1ubuntu0.2
|
|
14.04 LTS trusty |
Fixed 1.6+dfsg-1ubuntu1.1+esm1
|
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu ProNotes
Severity score breakdown
Parameter | Value |
---|---|
Base score | 7.5 · High |
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 |
References
Related Ubuntu Security Notices (USN)
- USN-4897-1
- Pygments vulnerability
- 30 March 2021
- USN-4897-2
- Pygments vulnerabilities
- 14 August 2023