Resource Exhaustion Affecting cn.hutool:hutool-core package, versions [,5.8.24)


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.05% (24th 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 Learn

Learn about Resource Exhaustion vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-CNHUTOOL-6140306
  • published28 Dec 2023
  • disclosed27 Dec 2023
  • creditPoppingSnack

Introduced: 27 Dec 2023

CVE-2023-51075  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

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

Overview

Affected versions of this package are vulnerable to Resource Exhaustion via the StrSplitter.splitByRegex function. An attacker can cause a system to become unresponsive by manipulating the first two parameters.

Note:

If the first two parameters are "", no matter how the last two parameters are set, the executing program will enter an infinite loop.

CVSS Scores

version 3.1