Rapid7 Vulnerability & Exploit Database

Huawei EulerOS: CVE-2021-27291: python-pygments security update

Back to Search

Huawei EulerOS: CVE-2021-27291: python-pygments security update

Severity
5
CVSS
(AV:N/AC:L/Au:N/C:N/I:N/A:P)
Published
03/17/2021
Created
04/30/2021
Added
04/30/2021
Modified
04/30/2021

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.

Solution(s)

  • huawei-euleros-2_0_sp3-upgrade-python-pygments

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;