CVE-2022-24839

unknown
Published 2022-04-11 · Modified 2023-11-08
CVSS v3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v2
VIR risk

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.

Predictions

Exploit likelihood
30%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2022-24839

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2022-24839.html

OS impact

OSVersionStatusFixed in
suse slesaffected
debian debianbookwormfixed1.9.22.noko2-0.1
debian debianbullseyeaffected
debian debianforkyfixed1.9.22.noko2-0.1
debian debiansidfixed1.9.22.noko2-0.1
debian debiantrixiefixed1.9.22.noko2-0.1

Package impact

EcosystemPackageVulnerableFixed
ruby RubyGemsnokogiri<>= 1.13.4>= 1.13.4
java Mavenorg.nokogiri:nekohtml<1.9.22.noko21.9.22.noko2

References

Verify integrity in audit chain (admin only). AS-IS.