Buffer Overflow Affecting cn.hutool:hutool-core package, versions [0,5.8.22)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.19% (57th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-CNHUTOOL-5891048
  • published10 Sept 2023
  • disclosed8 Sept 2023
  • creditUnknown

Introduced: 8 Sep 2023

CVE-2023-42276  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade cn.hutool:hutool-core to version 5.8.22 or higher.

Overview

Affected versions of this package are vulnerable to Buffer Overflow in the jsonArray.add() function. An attacker can cause a crash by sending a specially crafted JSON object to trigger an OutOfMemoryError.

CVSS Scores

version 3.1