cn.hutool:hutool-core@5.8.24 vulnerabilities

Direct Vulnerabilities

Known vulnerabilities in the cn.hutool:hutool-core package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Out-of-bounds Write

Affected versions of this package are vulnerable to Out-of-bounds Write via the NumberUtil.toBigDecimal method when the input parameter is "NaN". An attacker can disrupt the normal operations of the application by supplying crafted input that triggers a stack overflow.

Note This vulnerability doesn't affect environments using JDK 8.

How to fix Out-of-bounds Write?

Upgrade cn.hutool:hutool-core to version 5.8.25 or higher.

[5.8.22,5.8.25)