7.5
HIGH
CVE-2022-28366
HtmlUnit-Neko Denial of Service Vulnerability
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.

INFO

Published Date :

April 21, 2022, 11:15 p.m.

Last Modified :

Dec. 7, 2023, 5:56 p.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2022-28366 has a 2 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2022-28366 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Antisamy_project antisamy
1 Htmlunit htmlunit
1 Cyberneko_html_project cyberneko_html
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2022-28366.

URL Resource
https://github.com/nahsra/antisamy/releases/tag/v1.6.6 Release Notes Third Party Advisory
https://search.maven.org/artifact/net.sourceforge.htmlunit/neko-htmlunit Release Notes Third Party Advisory
https://sourceforge.net/projects/htmlunit/files/htmlunit/2.27/ Release Notes Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Dockerfile Shell

Updated: 1 year, 1 month ago
0 stars 0 fork 0 watcher
Born at : Sept. 28, 2023, 11:20 p.m. This repo has been linked 12 different CVEs too.

HtmlUnit adaptation of NekoHtml

Java HTML

Updated: 2 months, 3 weeks ago
16 stars 13 fork 13 watcher
Born at : May 20, 2018, 11:48 a.m. This repo has been linked 2 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-28366 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-28366 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Oct. 28, 2022

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Sep. 26, 2022

    Action Type Old Value New Value
    Changed 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. 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.
  • Initial Analysis by [email protected]

    May. 04, 2022

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:N/I:N/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
    Changed Reference Type https://github.com/nahsra/antisamy/releases/tag/v1.6.6 No Types Assigned https://github.com/nahsra/antisamy/releases/tag/v1.6.6 Release Notes, Third Party Advisory
    Changed Reference Type https://search.maven.org/artifact/net.sourceforge.htmlunit/neko-htmlunit No Types Assigned https://search.maven.org/artifact/net.sourceforge.htmlunit/neko-htmlunit Release Notes, Third Party Advisory
    Changed Reference Type https://sourceforge.net/projects/htmlunit/files/htmlunit/2.27/ No Types Assigned https://sourceforge.net/projects/htmlunit/files/htmlunit/2.27/ Release Notes, Third Party Advisory
    Added CWE NIST NVD-CWE-noinfo
    Added CPE Configuration OR *cpe:2.3:a:cyberneko_html_project:cyberneko_html:*:*:*:*:*:*:*:* versions up to (including) 1.9.22 *cpe:2.3:a:htmlunit_project:htmlunit:*:*:*:*:*:*:*:* versions up to (excluding) 2.27
    Added CPE Configuration OR *cpe:2.3:a:antisamy_project:antisamy:*:*:*:*:*:*:*:* versions up to (excluding) 1.6.6
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-28366 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2022-28366 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.13 }} 0.02%

score

0.48361

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability