PT-2026-81359 · Rubygems · Nokogiri
CVSS v4.0
8.7
High
| Vector | AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Name of the Vulnerable Software and Affected Versions
Nokogiri versions prior to 1.19.3
Description
A regular expression denial of service exists in the CSS selector tokenizer, specifically affecting string-literal and identifier tokenization. Attackers can cause exponential regex backtracking, leading to a denial of service, by injecting adversarial CSS selectors into the
Node#css, Node#at css, and Searchable#search methods.Recommendations
Update to version 1.19.3 or later.
Exploit
Fix
DoS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Nokogiri