# CVE-2021-31684: Out of bounds read in json-smart

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.28%, higher than 83% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-06-01T00:00:00.000Z
- Modified: 2026-09-10T03:49:11.820Z
- Also known as: GHSA-fg2v-w576-w4v3
- Weaknesses: CWE-125, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- net.minidev:json-smart (Maven): from 1.3.0 before 1.3.3; from 2.4.0 before 2.4.4
- json-smart_project json-smart-v1: from 1.3 before 1.3.3
- json-smart_project json-smart-v2: from 2.4 before 2.4.4
- oracle utilities_framework: 4.4.0.0.0; 4.4.0.2.0; 4.4.0.3.0

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://github.com/netplex/json-smart-v2/issues/67> (exploit, issue-tracking, third-party-advisory, web)
- <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/pull/68> (patch, third-party-advisory, web)
- <https://www.oracle.com/security-alerts/cpujan2022.html> (patch, third-party-advisory, web)
- <https://www.oracle.com/security-alerts/cpujul2022.html> (web)
- <https://lists.debian.org/debian-lts-announce/2023/03/msg00030.html> (mailing-list, web)
- <https://security.netapp.com/advisory/ntap-20240621-0006/>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-31684> (advisory)
- <https://github.com/netplex/json-smart-v1> (package)
- <https://security.netapp.com/advisory/ntap-20240621-0006> (web)

## Sources

- CVE List: [CVE-2021-31684](https://www.cve.org/CVERecord?id=CVE-2021-31684), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-fg2v-w576-w4v3](https://github.com/advisories/GHSA-fg2v-w576-w4v3), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2021-31684](https://nvd.nist.gov/vuln/detail/CVE-2021-31684), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-31684 · Whole record: https://cve.day/CVE-2021-31684.json · Rebuilt by cve.day 2026-11-25T22:58:01.613Z
