Maven (Java)Worst: Critical9 advisories

cn.hutool:hutool-core: known vulnerabilities

cn.hutool:hutool-core has 9 reviewed security advisories in the GitHub Advisory Database — 2 critical, 7 high. The most recent was published 2023-12-27. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the cn.hutool:hutool-core versions running across your servers, containers and images, and ranks what to patch first.

How to fix cn.hutool:hutool-core

Upgrade cn.hutool:hutool-core to a release at or above the fixed version shown for each advisory below. For Maven (Java):

Bump the dependency to 5.8.24 in your pom.xml or build.gradle

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (9)

hutool-core discovered to contain an infinite loop in the StrSplitter.splitByRegex function High 7.5 CWE-835 — Affected: before 5.8.24. Fixed in 5.8.24. Published 2023-12-27. GHSA-7m7h-rgvp-3v4r · CVE-2023-51075
hutool-core was discovered to contain a stack overflow via NumberUtil.toBigDecimal method High 7.5 CWE-787 — Affected: from 5.8.22 up to 5.8.25. Fixed in 5.8.25. Published 2023-12-27. GHSA-m5hf-m3r2-xq53 · CVE-2023-51080
hutool Buffer Overflow vulnerability Critical 9.8 CWE-120 — Affected: up to and including 5.8.21. No fixed release is listed. Published 2023-09-08. GHSA-7p8c-crfr-q93p · CVE-2023-42277
hutool Buffer Overflow vulnerability Critical 9.8 CWE-120 — Affected: up to and including 5.8.21. No fixed release is listed. Published 2023-09-08. GHSA-rxgf-r843-g53h · CVE-2023-42276
HuTool XML parsing module has blind XXE vulnerability High 7.5 CWE-611 — Affected: up to and including 5.8.19. No fixed release is listed. Published 2023-06-15. GHSA-p2qf-9vp6-3jjq · CVE-2023-3276
Insecure Temporary File in HuTool High 7.1 CWE-377 CWE-732 — Affected: before 5.8.19. Fixed in 5.8.19. Published 2023-06-13. GHSA-7mcw-xmx3-7p8m · CVE-2023-33695
HuTool vulnerable to Uncontrolled Resource Consumption High 7.5 CWE-400 CWE-404 — Affected: before 5.8.11. Fixed in 5.8.11. Published 2022-12-16. GHSA-47vx-fqr5-j2gw · CVE-2022-4565
Unzip function in ZipUtil.java in Hutool allows remote attackers to overwrite arbitrary files via directory traversal High 7.5 CWE-22 — Affected: before 4.1.12. Fixed in 4.1.12. Published 2018-10-17. GHSA-rhq2-2574-78mc · CVE-2018-17297

Find cn.hutool:hutool-core across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.