7.5

CVE-2022-24836: Inefficient Regular Expression Complexity in Nokogiri

Modified
AliasesMGASA-2022-0164UBUNTU-CVE-2022-24836DEBIAN-CVE-2022-24836
Published 11-04-2022Last modified 03-09-2024

Vulnerability summary

CVE-2022-24836 is a high (CVSS 7.5) Uncontrolled Resource Consumption vulnerability in apple macos. EPSS estimates a 3.52% chance of exploitation in the next 30 days, higher than 89.2% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 4% (FIRST, 03-11-2026)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
3.52%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 10 · Related 8

Timeline

  1. 11-04-2022
    PublishedVulnerability first disclosed.
  2. 03-09-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

7 scores · 6 sources · 2 versions

EPSS trend

Probability

3.52%

Chance of exploitation in the next 30 days

Percentile

89%

Versus all other CVEs

30-day change

No change 0.00 pp

From 3.52% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Debian2 products
  • ruby-nokogiri< 1.6.8.1-1+deb9u2 | < 1.11.1+dfsg-2+deb11u1 | < 1.13.5+dfsg-1
  • debian_linuxEOL9.0 | 10.0
Alpine1 product
  • ruby-nokogiri< 1.13.4-r0
Apple1 product
Fedoraproject1 product
Mageia1 product
  • ruby-nokogiri< 1.11.1-1.1.mga8
Nokogiri1 product
RubyGems1 product
  • nokogiri< 1.13.4
Sparklemotion1 product
Ubuntu1 product
  • ruby-nokogiriAll versions (No fix recorded)

9 vendors · 10 products

References

26 links
Show all 26 references