Read the docs
TI-2022-08651 Aliases CVE-2022-24839GHSA-9849-p7jc-9rmv

Uncontrolled Resource Consumption in org.cyberneko.html (nokogiri fork)

Priority MEDIUM 43CWE-400Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Partial Red Hat: 2 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-400.

Summary

org.cyberneko.html is an html parser written in Java. The fork of `org.cyberneko.html` used by Nokogiri (Rubygem) raises a `java.lang.OutOfMemoryError` exception when parsing ill-formed HTML markup. Users are advised to upgrade to `>= 1.9.22.noko2`. Note: The upstream library `org.cyberneko.html` is no longer maintained. Nokogiri uses its own fork of this library located at https://github.com/sparklemotion/nekohtml and this CVE applies only to that fork. Other forks of nekohtml may have a similar vulnerability.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.02165 82nd percentileScored 2026-11-07
Fix Partial nekohtml (sparklemotion): 1.9.22.noko2org.nokogiri:nekohtml (Maven): 1.9.22.noko2Red Hat: 2 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
sparklemotionnekohtmlbefore 1.9.22.noko21.9.22.noko2Patch availableCNA
—org.nokogiri:nekohtml (Maven)before 1.9.22.noko21.9.22.noko2Patch availableGHSA-9849-p7jc-9rmv
  • nekohtml Vendorsparklemotion Affected before 1.9.22.noko2 Fixed in 1.9.22.noko2 Patch available CNA
  • org.nokogiri:nekohtml (Maven) Vendor— Affected before 1.9.22.noko2 Fixed in 1.9.22.noko2 Patch available GHSA-9849-p7jc-9rmv

CPE configurations NVD · 4

CPEVersionsRoleVendor
cpe:2.3:a:nekohtml_project:nekohtml:*:*:*:*:*:nokogiri:*:*before 1.9.22.noko2VulnerableNekohtml Project
cpe:2.3:a:oracle:weblogic_server:12.2.1.3.0:*:*:*:*:*:*:*12.2.1.3.0VulnerableOracle
cpe:2.3:a:oracle:weblogic_server:12.2.1.4.0:*:*:*:*:*:*:*12.2.1.4.0VulnerableOracle
cpe:2.3:a:oracle:weblogic_server:14.1.1.0.0:*:*:*:*:*:*:*14.1.1.0.0VulnerableOracle
  • cpe:2.3:a:nekohtml_project:nekohtml:*:*:*:*:*:nokogiri:*:* Versions before 1.9.22.noko2 Vulnerable ·Nekohtml Project
  • cpe:2.3:a:oracle:weblogic_server:12.2.1.3.0:*:*:*:*:*:*:* Versions 12.2.1.3.0 Vulnerable ·Oracle
  • cpe:2.3:a:oracle:weblogic_server:12.2.1.4.0:*:*:*:*:*:*:* Versions 12.2.1.4.0 Vulnerable ·Oracle
  • cpe:2.3:a:oracle:weblogic_server:14.1.1.0.0:*:*:*:*:*:*:* Versions 14.1.1.0.0 Vulnerable ·Oracle

Remediation

  • Fix · CNA nekohtml (sparklemotion) Fixed in 1.9.22.noko2
  • Fix · GHSA-9849-p7jc-9rmv org.nokogiri:nekohtml (Maven) Fixed in 1.9.22.noko2 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
CloudForms Management Engine 5AffectedNo fix planned: Will not fix
Red Hat Satellite 6AffectedNo fix yet: Fix deferred

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-24839
  2. 2026-10-03 Alias added: GHSA-9849-p7jc-9rmv

References

  • TI-2022-11724 Improper Handling of Unexpected Data Type in Nokogiri CVSS 3.1HIGH 8.2
  • TI-2018-15259 zlib before 1.2.12 allows memory corruption when deflating (i.e., when compressing) if… CVSS 3.1HIGH 7.5
  • TI-2026-69678 Mechanize leaks credential headers to other hosts after redirects CVSS 3.1MEDIUM 6.8
  • TI-2025-05895 sparklemotion nokogiri hashmap.c hashmap_get_with_hash heap-based overflow CVSS 4.0MEDIUM 4.8
  • TI-2025-05891 sparklemotion nokogiri hashmap.c hashmap_set_with_hash heap-based overflow CVSS 4.0MEDIUM 4.8
  • TI-2019-03885 OS command injection in Nokogiri CVSS 3.1CRITICAL 9.8
See all 31 →

Sources