WaratekVRT Sign in

CVE-2023-24163 hutool

Affected softwarehutool
Severity9.8 Critical CVSS 3.1 2 scores
Fixed in5.8.21
WeaknessSQL injection (CWE-89)
Published31 Jan 2023
Updated17 Jun 2026

Description

SQL Inection vulnerability in Dromara hutool before 5.8.21 allows attacker to execute arbitrary code via the aviator template engine.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 3 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 1.4% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR sql-injection security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-89: SQL Injection.

How to mitigate CVE-2023-24163

Upgrade hutool to 5.8.21 or later. Until you can, Waratek RASP blocks exploitation with its SQL injection rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

9.8 CRITICAL v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 9.8 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H NVD Primary published
CVSS 3.1 9.8 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CISA-ADP Secondary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
cn.hutool:hutool-all 0 5.8.21 unbounded

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
osv cn.hutool hutool-all generic < 5.8.21
nvd hutool hutool generic < 5.8.21

References

URLTags
https://github.com/dromara/hutool/issues/3149 WEB
https://github.com/google/osv.dev/issues/2195 WEB
https://gitee.com/dromara/hutool PACKAGE
https://gitee.com/dromara/hutool/issues/I6AJWJ#note_15801868 WEB
https://gitee.com/dromara/hutool/issues/I6AJWJ#note_20057806_link WEB
https://github.com/dromara/hutool/releases/tag/5.8.21 WEB

Timeline

Published2023-01-31By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.