Skip to content
OpenAdvisories
High · 7.5 CVE-2022-28366 EUVD-2022-1739GHSA-g9hh-vvx3-v37v

Denial of service in HtmlUnit-Neko

Published Apr 21, 2022 · Updated Aug 3, 2024 · Assigned by mitre

Description

Certain Neko-related HTML parsers allow a denial of service via crafted Processing Instruction (PI) input that causes excessive heap memory consumption. In particular, this issue exists in HtmlUnit-Neko through 2.26, and is fixed in 2.27. This issue also exists in CyberNeko HTML through 1.9.22 (also affecting OWASP AntiSamy before 1.6.6), but 1.9.22 is the last version of CyberNeko HTML. NOTE: this may be related to CVE-2022-24839.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libowasp-antisamy-java 1.7.4-1 —
Debian 13 libowasp-antisamy-java 1.7.4-1 —
Debian 12 libowasp-antisamy-java No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libowasp-antisamy-java No fix yet —
Ubuntu 26.04 LTS libowasp-antisamy-java No fix yet —
Ubuntu 25.10 libowasp-antisamy-java No fix yet —
Ubuntu 24.04 LTS libowasp-antisamy-java No fix yet —
Ubuntu 22.04 LTS libowasp-antisamy-java No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS libowasp-antisamy-java No fix yet —
Ubuntu 18.04 LTS libowasp-antisamy-java No fix yet —
Ubuntu 16.04 LTS libowasp-antisamy-java No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven net.sourceforge.htmlunit:neko-htmlunit < 2.27 2.27 GHSA-g9hh-vvx3-v37v

Advisories 2

References