Arbitrary Code Execution Affecting cn.hutool:hutool-all package, versions [,5.8.12)


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.21% (60th 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 Arbitrary Code Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-CNHUTOOL-3322192
  • published16 Feb 2023
  • disclosed31 Jan 2023
  • creditS2eTo

Introduced: 31 Jan 2023

CVE-2023-24162  (opens in a new tab)
CWE-502  (opens in a new tab)

How to fix?

Upgrade cn.hutool:hutool-all to version 5.8.12 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Execution via the XMLDecoder.readObject function when using XmlUtil.readObjectFromXml to interpret untrusted XML strings.

CVSS Scores

version 3.1