Buffer Overflow Affecting cn.hutool:hutool-json 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.06% (29th 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-5891050
  • published10 Sept 2023
  • disclosed8 Sept 2023
  • creditUnknown

Introduced: 8 Sep 2023

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

How to fix?

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

Overview

Affected versions of this package are vulnerable to Buffer Overflow via the JSONUtil.parse() function. An attacker can cause a heap buffer overflow by sending a specially crafted JSON string. This can lead to unexpected behavior or application crashes.

CVSS Scores

version 3.1