CVE-2023-42277Hutool
Critical 9.8 No auth needed
Follow: this CVE · Hutool · Hutool We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 1.0% probability of exploitation in 30 days · percentile 60
- Auth required
- No
- Published
- Sep 8, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-120
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
hutool v5.8.21 was discovered to contain a buffer overflow via the component jsonObject.putByPath.
What to do
- Apply the vendor's security update for Hutool.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | cn.hutool:hutool-core |
≤ 5.8.21 |
no fixed version | — |
| Maven | cn.hutool:hutool-json |
≤ 5.8.21 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-7p8c-crfr-q93p). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| hutool | hutool | 5.8.21 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Issue Tracking Vendor Advisory