Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2021-27291

Опубликовано: 11 янв. 2021
Источник: redhat
CVSS3: 7.5

Описание

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.

A denial of service attack was discovered against pygments. Some of the regular expressions used to tokenise source code for highlighting have exponential complexity. A specially crafted input file could cause pygments to take effectively infinite time to parse, consuming CPU resources and denying access to the service.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 6python-pygmentsOut of support scope
Red Hat Enterprise Linux 7python-pygmentsOut of support scope
Red Hat Enterprise Linux 7resource-agentsOut of support scope
Red Hat OpenStack Platform 10 (Newton)python-pygmentsOut of support scope
Red Hat Automation Hub 4.2 for RHEL 7automation-hubFixedRHSA-2021:078109.03.2021
Red Hat Automation Hub 4.2 for RHEL 7python3-djangoFixedRHSA-2021:078109.03.2021
Red Hat Automation Hub 4.2 for RHEL 7python-bleachFixedRHSA-2021:078109.03.2021
Red Hat Automation Hub 4.2 for RHEL 7python-bleach-allowlistFixedRHSA-2021:078109.03.2021
Red Hat Automation Hub 4.2 for RHEL 7python-galaxy-importerFixedRHSA-2021:078109.03.2021
Red Hat Automation Hub 4.2 for RHEL 7python-galaxy-ngFixedRHSA-2021:078109.03.2021

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-400
https://bugzilla.redhat.com/show_bug.cgi?id=1940603python-pygments: ReDoS in multiple lexers

7.5 High

CVSS3

Связанные уязвимости

CVSS3: 7.5
ubuntu
больше 4 лет назад

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.

CVSS3: 7.5
nvd
больше 4 лет назад

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.

CVSS3: 7.5
msrc
около 4 лет назад

Описание отсутствует

CVSS3: 7.5
debian
больше 4 лет назад

In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming ...

suse-cvrf
больше 3 лет назад

Security update for python-Pygments

7.5 High

CVSS3