CVE-2023-51080: hutool-core was discovered to contain a stack overflow via NumberUtil.toBigDecimal method

CVE-2023-51080 · Severity: low · CVSS 3.1 · Published 2023-12-27

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

Technologies: cn.hutool:hutool-core (Maven). Vendors: Maven.

Quick answers

Is CVE-2023-51080 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2023-51080 being exploited in the wild.
How severe is CVE-2023-51080?
Low severity, with a CVSS score of 3.1, published 27 December 2023.
Which products and versions are affected?
cn.hutool:hutool-core (Maven) ECOSYSTEM:introduced=5.8.22,fixed=5.8.25.
Is there a fix for CVE-2023-51080?
Yes. cn.hutool:hutool-core (Maven): upgrade to 5.8.25 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2023-51080?
Check whether you run cn.hutool:hutool-core (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • cn.hutool:hutool-core (Maven): upgrade to 5.8.25 or later
    # set cn.hutool:hutool-core to 5.8.25 in your pom.xml or build.gradle

Affected products

  • cn.hutool:hutool-core (Maven) ECOSYSTEM:introduced=5.8.22,fixed=5.8.25

Identifiers

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

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.