Skip to content

← Public intelligence

Maven package

cn.hutool:hutool-core

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

6 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. High, CVSS 7.5MavenPublished

    hutool-core was discovered to contain a stack overflow via NumberUtil.toBigDecimal method

    CVE-2023-51080 · GHSA-m5hf-m3r2-xq53

    Affected
    • Maven cn.hutool:hutool-core >= 5.8.22, <= 5.8.24
    Fixed in
    5.8.25· Vendor fix available
    Issue
    The NumberUtil.toBigDecimal method in hutool-core was discovered to contain a stack overflow.

    Recommended action: Upgrade to 5.8.25 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  2. High, CVSS 7.5MavenPublished

    hutool-core discovered to contain an infinite loop in the StrSplitter.splitByRegex function

    CVE-2023-51075 · GHSA-7m7h-rgvp-3v4r

    Affected
    • Maven cn.hutool:hutool-core <= 5.8.23
    Fixed in
    5.8.24· Vendor fix available
    Issue
    hutool-core v5.8.23 was discovered to contain an infinite loop in the StrSplitter.splitByRegex function. This vulnerability allows attackers to cause a Denial of Service (DoS) via manipulation of the first two parameters.

    Recommended action: Upgrade to 5.8.24 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  3. High, CVSS 7.5MavenPublished

    hutool Buffer Overflow vulnerability

    CVE-2023-42278 · GHSA-rr66-qh5m-w6mx

    Affected
    • Maven cn.hutool:hutool-core < 5.8.22
    Fixed in
    5.8.22· Vendor fix available
    Issue
    hutool v5.8.21 was discovered to contain a buffer overflow via the component JSONUtil.parse().

    Recommended action: Upgrade to 5.8.22 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  4. High, CVSS 7.1MavenPublished

    Insecure Temporary File in HuTool

    CVE-2023-33695 · GHSA-7mcw-xmx3-7p8m

    Affected
    • Maven cn.hutool:hutool-core < 5.8.19
    Fixed in
    5.8.19· Vendor fix available
    Issue
    Hutool v5.8.17 and below was discovered to contain an information disclosure vulnerability via the File.createTempFile() function at /core/io/FileUtil.java.

    Recommended action: Upgrade to 5.8.19 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  5. High, CVSS 7.5MavenPublished

    HuTool vulnerable to Uncontrolled Resource Consumption

    CVE-2022-4565 · GHSA-47vx-fqr5-j2gw

    Affected
    • Maven cn.hutool:hutool-core < 5.8.11
    Fixed in
    5.8.11· Vendor fix available
    Issue
    A vulnerability classified as problematic was found in Dromara HuTool up to 5.8.10. This vulnerability affects unknown code of the file cn.hutool.core.util.ZipUtil.java. The manipulation leads to resource consumption. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. Upgrading to version 5.8.11 is able to address this issue. It is recommended to upgrade the affected component.

    Recommended action: Upgrade to 5.8.11 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  6. High, CVSS 7.5MavenPublished

    Unzip function in ZipUtil.java in Hutool allows remote attackers to overwrite arbitrary files via directory traversal

    CVE-2018-17297 · GHSA-rhq2-2574-78mc

    Affected
    • Maven cn.hutool:hutool-core < 4.1.12
    Fixed in
    4.1.12· Vendor fix available
    Issue
    The unzip function in ZipUtil.java in Hutool before 4.1.12 allows remote attackers to overwrite arbitrary files via directory traversal sequences in a filename within a ZIP archive.

    Recommended action: Upgrade to 4.1.12 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →