#VU77102 Stack-based buffer overflow in hutool


Published: 2023-06-08

Vulnerability identifier: #VU77102

Vulnerability risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-45688

CWE-ID: CWE-121

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
hutool
Other software / Other software solutions

Vendor: Dromara

Description

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

The vulnerability exists in the XML.toJSONObject component. A remote unauthenticated attacker can send a specially crafted JSON or XML data, trigger stack-based buffer overflow and perform a denial of service attack.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

hutool: 5.8.10


External links
http://github.com/dromara/hutool/issues/2748
http://github.com/stleary/JSON-java/issues/708


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