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.
INFO
Published Date :
April 11, 2022, 10:15 p.m.
Last Modified :
Nov. 21, 2024, 6:51 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
Affected Products
                                            The following products are affected by CVE-2022-24839
                                            vulnerability.
                                            Even if cvefeed.io is aware of the exact versions of the
                                            products
                                            that
                                            are
                                            affected, the information is not represented in the table below.
                                        
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 2.0 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | HIGH | [email protected] | ||||
| CVSS 3.1 | HIGH | [email protected] | 
Solution
- There is no known solution at this time.
 
Public PoC/Exploit Available at Github
                                            CVE-2022-24839 has a 3 public
                                            PoC/Exploit available at Github.
                                            Go to the Public Exploits tab to see the list.
                                        
References to Advisories, Solutions, and Tools
                                            Here, you will find a curated list of external links that provide in-depth
                                            information, practical solutions, and valuable tools related to
                                            CVE-2022-24839.
                                        
| URL | Resource | 
|---|---|
| https://github.com/sparklemotion/nekohtml/commit/a800fce3b079def130ed42a408ff1d09f89e773d | Patch | 
| https://github.com/sparklemotion/nekohtml/security/advisories/GHSA-9849-p7jc-9rmv | Vendor Advisory | 
| https://www.oracle.com/security-alerts/cpujul2022.html | Patch Third Party Advisory | 
| https://github.com/sparklemotion/nekohtml/commit/a800fce3b079def130ed42a408ff1d09f89e773d | Patch | 
| https://github.com/sparklemotion/nekohtml/security/advisories/GHSA-9849-p7jc-9rmv | Vendor Advisory | 
| https://www.oracle.com/security-alerts/cpujul2022.html | Patch Third Party Advisory | 
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2022-24839 is
            associated with the following CWEs:
        
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
            (CAPEC)
            stores attack patterns, which are descriptions of the common attributes and
            approaches employed by adversaries to exploit the CVE-2022-24839
            weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
This is the dataset of a work submitted to the 17th International Conference on Agents and Artificial Intelligence (ICAART). The proposed article title is: "A study on vulnerability explanation using Large Language Models"
None
Dockerfile Shell
None
Shell HTML CodeQL
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2022-24839 vulnerability anywhere in the article.
		
                The following table lists the changes that have been made to the
                CVE-2022-24839 vulnerability over time.
            
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
- 
                            
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/sparklemotion/nekohtml/commit/a800fce3b079def130ed42a408ff1d09f89e773d Added Reference https://github.com/sparklemotion/nekohtml/security/advisories/GHSA-9849-p7jc-9rmv Added Reference https://www.oracle.com/security-alerts/cpujul2022.html  - 
                            
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value  - 
                            
Modified Analysis by [email protected]
Feb. 23, 2023
Action Type Old Value New Value Changed Reference Type https://github.com/sparklemotion/nekohtml/commit/a800fce3b079def130ed42a408ff1d09f89e773d Patch, Third Party Advisory https://github.com/sparklemotion/nekohtml/commit/a800fce3b079def130ed42a408ff1d09f89e773d Patch Changed Reference Type https://github.com/sparklemotion/nekohtml/security/advisories/GHSA-9849-p7jc-9rmv Third Party Advisory https://github.com/sparklemotion/nekohtml/security/advisories/GHSA-9849-p7jc-9rmv Vendor Advisory Changed Reference Type https://www.oracle.com/security-alerts/cpujul2022.html No Types Assigned https://www.oracle.com/security-alerts/cpujul2022.html Patch, Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:oracle:weblogic_server:12.2.1.3.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:weblogic_server:12.2.1.4.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:weblogic_server:14.1.1.0.0:*:*:*:*:*:*:*  - 
                            
CVE Modified by [email protected]
Jul. 25, 2022
Action Type Old Value New Value Added Reference https://www.oracle.com/security-alerts/cpujul2022.html [No Types Assigned]  - 
                            
Initial Analysis by [email protected]
Apr. 19, 2022
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:N/I:N/A:P) Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Changed Reference Type https://github.com/sparklemotion/nekohtml/commit/a800fce3b079def130ed42a408ff1d09f89e773d No Types Assigned https://github.com/sparklemotion/nekohtml/commit/a800fce3b079def130ed42a408ff1d09f89e773d Patch, Third Party Advisory Changed Reference Type https://github.com/sparklemotion/nekohtml/security/advisories/GHSA-9849-p7jc-9rmv No Types Assigned https://github.com/sparklemotion/nekohtml/security/advisories/GHSA-9849-p7jc-9rmv Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:nekohtml_project:nekohtml:*:*:*:*:*:nokogiri:*:* versions up to (excluding) 1.9.22.noko2  
Vulnerability Scoring Details
Base CVSS Score: 7.5
Base CVSS Score: 5
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.33 }} 0.03%
score
0.55609
percentile