CVE-2021-31684
HIGH 7.5CVSS 3.1Out of bounds read in json-smart
A vulnerability was discovered in the indexOf function of JSONParserByteArray in JSON Smart versions 1.3 and 2.4 which causes a denial of service (DOS) via a crafted web request.
- Published
- 1 Jun 2021
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-125CWE-787
- Also known as
- GHSA-fg2v-w576-w4v3
- Sources
- NVDJSONOSV GHSA-fg2v-w576-w4v3JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | json-smart_project | json-smart-v1cpe:2.3:a:json-smart_project:json-smart-v1:*:*:*:*:*:*:*:* |
>= 1.3, < 1.3.3 | 1.3.3 |
| NVD | json-smart_project | json-smart-v2cpe:2.3:a:json-smart_project:json-smart-v2:*:*:*:*:*:*:*:* |
>= 2.4, < 2.4.4 | 2.4.4 |
| NVD | oracle | utilities_frameworkcpe:2.3:a:oracle:utilities_framework:4.4.0.0.0:*:*:*:*:*:*:* |
= 4.4.0.0.0 | |
| NVD | oracle | utilities_frameworkcpe:2.3:a:oracle:utilities_framework:4.4.0.2.0:*:*:*:*:*:*:* |
= 4.4.0.2.0 | |
| NVD | oracle | utilities_frameworkcpe:2.3:a:oracle:utilities_framework:4.4.0.3.0:*:*:*:*:*:*:* |
= 4.4.0.3.0 | |
| OSV | Maven | net.minidev:json-smart | >= 1.3.0, < 1.3.3 | 1.3.3 |
| OSV | Maven | net.minidev:json-smart | >= 2.4.0, < 2.4.4 | 2.4.4 |
References
- https://github.com/netplex/json-smart-v1/issues/10 · Issue Tracking, Third Party Advisory, WEB
- https://github.com/netplex/json-smart-v1/pull/11 · Patch, Third Party Advisory, WEB
- https://github.com/netplex/json-smart-v2/issues/67 · Exploit, Issue Tracking, Third Party Advisory, WEB
- https://github.com/netplex/json-smart-v2/pull/68 · Patch, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2023/03/msg00030.html · WEB
- https://security.netapp.com/advisory/ntap-20240621-0006/ · WEB
- https://www.oracle.com/security-alerts/cpujan2022.html · Patch, Third Party Advisory, WEB
- https://www.oracle.com/security-alerts/cpujul2022.html · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-31684 · ADVISORY
- https://github.com/netplex/json-smart-v1 · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 1 Jun 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 10 Feb 2022)