#VU77776 Stack-based buffer overflow in HtmlUnit - CVE-2023-2798


Vulnerability identifier: #VU77776

Vulnerability risk: Medium

CVSSv4.0: 4.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2023-2798

CWE-ID: CWE-121

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
HtmlUnit
Client/Desktop applications / Web browsers

Vendor: HtmlUnit

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary error when processing HTML content. A remote attacker can trick the victim to visit a malicious webpage, trigger a stack overflow and perform a denial of service (DoS) attack.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

HtmlUnit: 2.0 - 2.69.0


External links
https://github.com/HtmlUnit/htmlunit/commit/940dc7fd
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=54613


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability