CVE-2022-24836CWE-1333CWE-400

Inefficient Regular Expression Complexity in Nokogiri

High · published April 11, 2022

CVSS v3.1
7.5
EPSS
4%
Percentile
89.2
In the wild
Unconfirmed
What it is

Nokogiri is an open source XML and HTML library for Ruby. Nokogiri `< v1.13.4` contains an inefficient regular expression that is susceptible to excessive backtracking when attempting to detect encoding in HTML documents. Users are advised to upgrade to Nokogiri `>= 1.13.4`. There are no known workarounds for this issue.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.03519 · 89.2th percentile
Weaknesses
CWE-1333 · Inefficient Regular Expression Complexity; CWE-400 · Uncontrolled Resource Consumption
Published
2022-04-11T00:00Z
EPSS history
Timeline
  • 11 APR 00:00Z
    Inefficient Regular Expression Complexity in Nokogiri
    cvelistv5