Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. cn.hutool/hutool-json
  4. ›
  5. CVE-2023-42278

CVE-2023-42278: hutool Buffer Overflow vulnerability

September 9, 2023 (updated January 3, 2025)

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

References

  • github.com/advisories/GHSA-rr66-qh5m-w6mx
  • github.com/dromara/hutool
  • github.com/dromara/hutool/commit/5c4486b9f58a83f283868135138f6ff3741b8c12
  • github.com/dromara/hutool/issues/3289
  • nvd.nist.gov/vuln/detail/CVE-2023-42278

Code Behaviors & Features

Detect and mitigate CVE-2023-42278 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 5.8.22

Fixed versions

  • 5.8.22

Solution

Upgrade to version 5.8.22 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

Source file

maven/cn.hutool/hutool-json/CVE-2023-42278.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:57 +0000.