WaratekVRT Sign in

CVE-2022-24839 nekohtml

Affected softwarenekohtml
Severity7.5 High CVSS 3.1 3 scores
Fixed in1.9.22.noko2
WeaknessUncontrolled resource consumption (CWE-400)
Published11 Apr 2022
Updated17 Jun 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 4 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 2.2% chance in 30 days

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists: sparklemotion/nekohtml a800fce.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all
Finding This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious.
Candidate fix https://github.com/sparklemotion/nekohtml/commit/a800fce3b079def130ed42a408ff1d09f89e773d : a commit: the change itself

CVSS

7.5 HIGH v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H 3 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 7.5 HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H security-advisories@github.com Secondary published
CVSS 3.1 7.5 HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H NVD Primary
CVSS 2.0 5.0 none AV:N/AC:L/Au:N/C:N/I:N/A:P NVD Primary

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update April 2024 ↗ CPU 2024-Q2 Oracle Systems / Core (NekoHTML) (2.5)
Oracle Systems / Tools (NekoHTML) (4)
Oracle Critical Patch Update October 2023 ↗ CPU 2023-Q4 Oracle Fusion Middleware / Third Party (NekoHTML) (12.2.1.4.0)
Oracle Critical Patch Update April 2023 ↗ CPU 2023-Q2 Oracle Financial Services Applications / Securities (NekoHTML) (11.6, 11.7, 11.8, 11.10, 11.11)
Oracle Critical Patch Update January 2023 ↗ CPU 2023-Q1 Oracle Supply Chain / Security (NekoHTML) (9.3.6)
Oracle Critical Patch Update July 2022 ↗ CPU 2022-Q3 Oracle Fusion Middleware / Centralized Third Party Jars (NekoHTML) (12.2.1.3.0, 12.2.1.4.0, 14.1.1.0.0)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Financial Services Applications Securities (NekoHTML) 11.6, 11.7, 11.8, 11.10, 11.11 11.6 · 11.7 · 11.8 · 11.10 · 11.11
Oracle Fusion Middleware Centralized Third Party Jars (NekoHTML) 12.2.1.3.0, 12.2.1.4.0, 14.1.1.0.0 12.2.1.3.0 · 12.2.1.4.0 · 14.1.1.0.0
Oracle Fusion Middleware Third Party (NekoHTML) 12.2.1.4.0 12.2.1.4.0
Oracle Supply Chain Security (NekoHTML) 9.3.6 9.3.6
Oracle Systems Core (NekoHTML) 2.5 2.5
Oracle Systems Tools (NekoHTML) 4 4

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.nokogiri:nekohtml 0 1.9.22.noko2 unbounded

Products and versions

3 products, 5 version entries
SourceVendorProductSchemeAffected versions
nvd nekohtml project nekohtml generic < 1.9.22.2
nvd oracle weblogic server generic 12.2.1.3.0 · 12.2.1.4.0 · 14.1.1.0.0
osv org.nokogiri nekohtml generic < 1.9.22.2

References

URLTags
https://github.com/sparklemotion/nekohtml/commit/a800fce3b079def130ed42a408ff1d09f89e773d commit
https://github.com/sparklemotion/nekohtml/security/advisories/GHSA-9849-p7jc-9rmv WEB
https://github.com/sparklemotion/nekohtml PACKAGE
https://www.oracle.com/security-alerts/cpujul2022.html WEB

Timeline

Published2022-04-11By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.