HIGH 7.5

CVE-2022-28366

Denial of service in HtmlUnit-Neko

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-24939.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
net.sourceforge.htmlunit » neko-htmlunit
< 2.27
2.27

Blast radius

1affected artifacts
5affected versions
559dependent artifacts (est.)
6,086dependent versions

31% of the dependent artifacts (178) still pull an affected version in their latest release.

DepthDependent versions
Direct
867
2 hops
1,414
3 hops
2,602
4 hops
724
5 hops
292
6 hops
187

Most used dependents

Computed from the dependency graph of build 20261125.0317 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.