CVE-2022-28366

Uncontrolled Resource Consumption in maven/org.owasp.antisamy/antisamy

Identifiers

CVE-2022-28366

Package Slug

maven/org.owasp.antisamy/antisamy

Vulnerability

Uncontrolled Resource Consumption

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 Versions

All versions before 1.6.6

Solution

Upgrade to version 1.6.6 or above.

Last Modified

2022-05-06

source