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

exploitDog

redhat логотип

CVE-2026-79770

Опубликовано: 25 авг. 2026
Источник: redhat
CVSS3: 7.5
EPSS Низкий

Описание

Nokogiri versions before 1.19.3 contain regular expression denial of service vulnerabilities in the CSS selector tokenizer affecting string-literal and identifier tokenization. Attackers can inject adversarial CSS selectors into methods like Node#css, Node#at_css, and Searchable#search to cause exponential regex backtracking and denial of service.

A flaw was found in Nokogiri. A remote attacker can inject specially crafted CSS selectors into methods such as Node#css or Node#at_css. This injection can lead to regular expression denial of service (ReDoS) due to exponential regex backtracking, causing the application to become unresponsive.

Отчет

A Regular Expression Denial of Service (ReDoS) vulnerability was discovered in Nokogiri's CSS selector tokenizer. When processing untrusted user input passed to methods like Node#css, Node#at_css, or Searchable#search, an attacker can inject adversarial CSS selectors containing malicious string literals or identifiers. This triggers exponential regex backtracking within the parser, causing severe CPU exhaustion and leading to a Denial of Service (DoS) for the application thread.

Меры по смягчению последствий

Do not pass untrusted user input directly into Nokogiri CSS search methods. If dynamic querying is necessary, sanitize input or restrict query parameter patterns before evaluation.

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

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat 3scale API Management Platform 23scale-amp2/backend-rhel8Not affected
Red Hat 3scale API Management Platform 23scale-amp2/system-rhel8Not affected
Red Hat 3scale API Management Platform 23scale-amp2/system-rhel9Not affected
Red Hat 3scale API Management Platform 23scale-amp2/toolbox-rhel9Not affected
Red Hat 3scale API Management Platform 23scale-amp2/zync-rhel9Not affected
Red Hat Satellite 6tfm-rubygem-amazing_printNot affected
Red Hat Satellite 6tfm-rubygem-graphqlNot affected

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

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

Статус:

Important
Дефект:
CWE-1333
https://bugzilla.redhat.com/show_bug.cgi?id=2523562nokogiri: Nokogiri: Denial of Service via crafted CSS selectors

EPSS

Процентиль: 20%
0.00278
Низкий

7.5 High

CVSS3

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

CVSS3: 7.5
ubuntu
23 дня назад

Nokogiri versions before 1.19.3 contain regular expression denial of service vulnerabilities in the CSS selector tokenizer affecting string-literal and identifier tokenization. Attackers can inject adversarial CSS selectors into methods like Node#css, Node#at_css, and Searchable#search to cause exponential regex backtracking and denial of service.

CVSS3: 7.5
nvd
23 дня назад

Nokogiri versions before 1.19.3 contain regular expression denial of service vulnerabilities in the CSS selector tokenizer affecting string-literal and identifier tokenization. Attackers can inject adversarial CSS selectors into methods like Node#css, Node#at_css, and Searchable#search to cause exponential regex backtracking and denial of service.

CVSS3: 7.5
debian
23 дня назад

Nokogiri versions before 1.19.3 contain regular expression denial of s ...

CVSS3: 7.5
github
4 месяца назад

Nokogiri CSS selector tokenizer has regular expression backtracking

EPSS

Процентиль: 20%
0.00278
Низкий

7.5 High

CVSS3