Nokogiri < v1.13.4 contains an inefficient regular expression that is susceptible to excessive backtracking when attempting to detect encoding in HTML documents.
Upgrade to Nokogiri >= 1.13.4.
The Nokogiri maintainers have evaluated this as High Severity 7.5 (CVSS3.1).
CWE-1333 Inefficient Regular Expression Complexity
This vulnerability was reported by HackerOne user ooooooo_q (ななおく).
{
"cwe_ids": [
"CWE-1333",
"CWE-400"
],
"github_reviewed": true,
"github_reviewed_at": "2022-04-11T21:18:06Z",
"severity": "HIGH",
"nvd_published_at": "2022-04-11T22:15:00Z"
}