Skip to content
Fencer Intel
high 7.5

CVE-2023-42278 json

hutool Buffer Overflow vulnerability

published 3y ago modified 4mo ago also GHSA-rr66-qh5m-w6mx , EUVD-2023-2589

cvss
7.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.8%
EPSS 0.8% chance of exploitation in 30 days, percentile 58%
public exploits
0
none known

Summary

hutool v5.8.21 was discovered to contain a buffer overflow via the component JSONUtil.parse().

Patch / fix

  • maven cn.hutool:hutool-core 5.8.22
  • maven cn.hutool:hutool-json 5.8.22

Is CVE-2023-42278 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

CISA SSVC

Exploitation
Proof of concept is public
Automatable
yes
Technical impact
partial
Assessed
2y ago

Exploit prediction

0.84% chance of exploitation in the next 30 days, higher than 58% of all scored CVEs (FIRST EPSS, 2026-11-15).

Exploits and checks

  • github.com https://github.com/dromara/hutool/issues/3289 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
maven cn.hutool:hutool-core
<5.8.22
5.8.22
maven cn.hutool:hutool-json
<5.8.22
5.8.22

Classification

Weakness
  • CWE-120 Buffer Copy without Checking Size of Input

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.