CVE-2022-24839

High

Description

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductNekohtml
PublishedApr 11, 2022
First seenApr 11, 2022

How to fix

Update
  • nekohtml_project nekohtml1.9.22.noko2 or later
  • org.nokogiri:nekohtml1.9.22.noko2 or later

Affected products

ProductAffected versionsFixed in
nekohtml_project nekohtmlv < 1.9.22.noko21.9.22.noko2
oracle weblogic_server12.2.1.3.0, 12.2.1.4.0, 14.1.1.0.0—
org.nokogiri:nekohtmlMavenv < 1.9.22.noko21.9.22.noko2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.