Vulnerability · Published Apr 21, 2022 · Assigned by mitre
CVE-2022-28366
High 7.5
In plain English
A high-severity security flaw in the libowasp-antisamy-java package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.2% (higher than 82% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libowasp-antisamy-java | no fix listed | DEBIAN-CVE-2022-28366 |
| Debian:13 | libowasp-antisamy-java | 1.7.4-1 | DEBIAN-CVE-2022-28366 |
| Debian:14 | libowasp-antisamy-java | 1.7.4-1 | DEBIAN-CVE-2022-28366 |
| Maven | net.sourceforge.htmlunit:neko-htmlunit | 2.27 | GHSA-g9hh-vvx3-v37v |
| Ubuntu:22.04:LTS | libowasp-antisamy-java | no fix listed | UBUNTU-CVE-2022-28366 |
| Ubuntu:24.04:LTS | libowasp-antisamy-java | no fix listed | UBUNTU-CVE-2022-28366 |
| Ubuntu:25.10 | libowasp-antisamy-java | no fix listed | UBUNTU-CVE-2022-28366 |
| Ubuntu:26.04:LTS | libowasp-antisamy-java | no fix listed | UBUNTU-CVE-2022-28366 |
| Ubuntu:26.10 | libowasp-antisamy-java | no fix listed | UBUNTU-CVE-2022-28366 |
Affected products (as reported)
References
- https://github.com/nahsra/antisamy/releases/tag/v1.6.6 x_refsource_MISC
- https://search.maven.org/artifact/net.sourceforge.htmlunit/neko-htmlunit x_refsource_MISC
- https://sourceforge.net/projects/htmlunit/files/htmlunit/2.27/ x_refsource_MISC