CVE-2022-24836

Inefficient Regular Expression Complexity in Nokogiri

Published Apr 11, 2022 CVSS 3.1 · 7.5 High EPSS 3.5% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3003-1 ruby-nokogiri security update
Debian DLA Debian DLA DLA-3149-1 ruby-nokogiri security update
Debian DLA Debian DLA DLA-3868-1 ruby-nokogiri security update
EUVD EUVD EUVD-2022-1712 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.
Github GHSA Github GHSA GHSA-crjr-9rc5-ghw8 Nokogiri Inefficient Regular Expression Complexity
History
Type Values Removed Values Added
Metrics epss

{'score': 0.01055}

epss

{'score': 0.01084}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 3, 2024, 12:03 PM
Reserved
Feb 10, 2022, 12:00 AM
Status
Modified
Published
Apr 11, 2022, 10:15 PM
Modified
Jun 17, 2026, 4:32 AM
Severity
Important
Public date
Apr 11, 2022, 12:00 AM