nekohtmlproject nekohtml CVE-2022-24839 in Nekohtmlproject and Oracle Products
Published on April 11, 2022

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

product logo product logo
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.

Github Repository Github Repository NVD

Vulnerability Analysis

CVE-2022-24839 can be exploited with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity, and a high impact on availability.

Attack Vector:
NETWORK
Attack Complexity:
LOW
Privileges Required:
NONE
User Interaction:
NONE
Scope:
UNCHANGED
Confidentiality Impact:
NONE
Integrity Impact:
NONE
Availability Impact:
HIGH

Weakness Type

What is a Resource Exhaustion Vulnerability?

The software does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources.

CVE-2022-24839 has been classified to as a Resource Exhaustion vulnerability or weakness.


Products Associated with CVE-2022-24839

stack.watch emails you whenever new vulnerabilities are published in Nekohtmlproject Nekohtml or Oracle Weblogic Server. Just hit a watch button to start following.

 
 

Affected Versions

sparklemotion nekohtml Version < 1.9.22.noko2 is affected by CVE-2022-24839

Vulnerable Packages

The following package name and versions may be associated with CVE-2022-24839

Package Manager Vulnerable Package Versions Fixed In
maven org.nokogiri:nekohtml < 1.9.22.noko2 1.9.22.noko2
rubygems nokogiri < 1.13.4 1.13.4

Exploit Probability

EPSS
0.45%
Percentile
64.10%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.