CVE-2022-24839
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.
How to fix
- nekohtml_project nekohtml1.9.22.noko2 or later
- org.nokogiri:nekohtml1.9.22.noko2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nekohtml_project nekohtml | v < 1.9.22.noko2 | 1.9.22.noko2 |
| oracle weblogic_server | 12.2.1.3.0, 12.2.1.4.0, 14.1.1.0.0 | — |
| org.nokogiri:nekohtmlMaven | v < 1.9.22.noko2 | 1.9.22.noko2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.