CVE-2022-24839
HIGH 7.5CVSS 3.1org.nokogiri:nekohtml vulnerable to Uncontrolled Resource Consumption
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.
- Published
- 11 Apr 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-400
- Also known as
- GHSA-9849-p7jc-9rmv
- Sources
- NVDJSONOSV GHSA-9849-p7jc-9rmvJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | nekohtml_project | nekohtmlcpe:2.3:a:nekohtml_project:nekohtml:*:*:*:*:*:nokogiri:*:* |
< 1.9.22.noko2 | 1.9.22.noko2 |
| NVD | oracle | weblogic_servercpe:2.3:a:oracle:weblogic_server:12.2.1.3.0:*:*:*:*:*:*:* |
= 12.2.1.3.0 | |
| NVD | oracle | weblogic_servercpe:2.3:a:oracle:weblogic_server:12.2.1.4.0:*:*:*:*:*:*:* |
= 12.2.1.4.0 | |
| NVD | oracle | weblogic_servercpe:2.3:a:oracle:weblogic_server:14.1.1.0.0:*:*:*:*:*:*:* |
= 14.1.1.0.0 | |
| OSV | Maven | org.nokogiri:nekohtml | < 1.9.22.noko2 | 1.9.22.noko2 |
References
- https://github.com/sparklemotion/nekohtml/commit/a800fce3b079def130ed42a408ff1d09f89e773d · Patch, WEB
- https://github.com/sparklemotion/nekohtml/security/advisories/GHSA-9849-p7jc-9rmv · Vendor Advisory, WEB
- https://www.oracle.com/security-alerts/cpujul2022.html · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-24839 · ADVISORY
- https://github.com/sparklemotion/nekohtml · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 11 Apr 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 22 Jun 2023)