CVE-2023-51080 hutool-core was discovered to contain a stack overflow via NumberUtil.toBigDecimal method
A stack overflow in the NumberUtil.toBigDecimal method allows attackers to cause a denial of service in applications using the hutool-core library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-51080?
CVE-2023-51080 is a high-severity denial of service vulnerability in n/a, published on 27 Dec 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The NumberUtil.toBigDecimal method in hutool-core v5.8.23 was discovered to contain a stack overflow.
Weakness: CWE-787
Which versions are affected by CVE-2023-51080?
2 open source packages ship an affected version, including cn.hutool:hutool-core. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
cn.hutool:hutool-core Maven | From 5.8.22 | 5.8.25 |
cn.hutool:hutool-core Maven | From 5.8.22 | 5.8.25 |
Products include Hutool Hutool.
How do I fix CVE-2023-51080?
Upgrade cn.hutool:hutool-core to 5.8.25 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2023-51080 being exploited?
There is no known exploitation of CVE-2023-51080 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-m5hf-m3r2-xq53.