Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| sparklemotion / nokogiri | affected 0 before 1.19.3; unaffected 1.19.3 |
CWE
CWE-1333
References
- https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-c4rq-3m3g-8wgx
- https://www.vulncheck.com/advisories/nokogiri-before-redos-via-css-selector-tokenizer
ADP enrichment
No English description supplied.
No references supplied.