Skip to main content
← All vulnerabilities
CVE-2022-24839GHSA-9849-P7JC-9RMV

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.9.22.noko2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • sparklemotion nekohtml

    fixed in 1.9.22.noko2

  • org.nokogiri:nekohtmlMaven

    fixed in 1.9.22.noko2

References 3

GitHub · sparklemotion/nekohtml

oracle.com