Out of bounds read in json-smart
A vulnerability was discovered in the indexOf function of JSONParserByteArray in JSON Smart versions prior to 1.3.3 and 2.4.5 which causes a denial of service (DOS) via a crafted web request.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | net.minidev:json-smart | >= 1.3.0, < 1.3.3, >= 2.4.0, < 2.4.4 | 1.3.3, 2.4.4 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-31684
- https://github.com/netplex/json-smart-v1/issues/10
- https://github.com/netplex/json-smart-v2/issues/67
- https://github.com/netplex/json-smart-v1/pull/11
- https://github.com/netplex/json-smart-v2/pull/68
- https://github.com/netplex/json-smart-v1
- https://lists.debian.org/debian-lts-announce/2023/03/msg00030.html
- https://security.netapp.com/advisory/ntap-20240621-0006
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Weakness (CWE)
CWE-125, CWE-787- Platform
- Java / Kotlin (Maven)
- Package
net.minidev:json-smart- Disclosed
- 10.02.2022
- Updated
- 11.10.2026 13:19
Sources and licenses
OSV / GitHub Advisory Database - GHSA-fg2v-w576-w4v3 - CC BY 4.0
Vulnerability history: net.minidev:json-smart
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 4
- First → latest
- 06.2021 02.2025
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 3
- Medium 1
Disclosures per year
- 2021: 1
- 2022: 1
- 2023: 1
- 2024: 0
- 2025: 1
- 2026: 0
-
Out of bounds read in json-smart this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.