What’s Vulnerable › Vulnerabilities

CVE-2022-24839: Uncontrolled Resource Consumption in org.cyberneko.html (nokogiri fork)

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.

Affected products

How to fix

Upgrade to a fixed version: Nekohtml Project Nekohtml 1.9.22.noko2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-24839 or the next vulnerability affects your stack