{"id":"CVE-2021-31684","aliases":["CVE-2021-31684","GHSA-fg2v-w576-w4v3"],"related":[],"kind":"vulnerability","state":"published","title":"Out of bounds read in json-smart","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se ha detectado una vulnerabilidad en la función indexOf de JSONParserByteArray en versiones 1.3 y 2.4 de JSON Smart que causa una Denegación de Servicio (DOS) por medio de una petición web diseñada","source":"nvd"}],"published":"2021-06-01T00:00:00.000Z","modified":"2026-09-10T03:49:11.820Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","score":5,"rating":"MEDIUM"}],"cwes":["CWE-125","CWE-787"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"1.3.0","status":"affected","fixed":"1.3.3"}],"ecosystem":"Maven","package":"net.minidev:json-smart","purl":"pkg:maven/net.minidev/json-smart","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.4.0","status":"affected","fixed":"2.4.4"}],"ecosystem":"Maven","package":"net.minidev:json-smart","purl":"pkg:maven/net.minidev/json-smart","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"1.3","fixed":"1.3.3"}],"vendor":"json-smart_project","product":"json-smart-v1","cpe":"cpe:2.3:a:json-smart_project:json-smart-v1:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"2.4","fixed":"2.4.4"}],"vendor":"json-smart_project","product":"json-smart-v2","cpe":"cpe:2.3:a:json-smart_project:json-smart-v2:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"4.4.0.0.0"},{"status":"affected","version":"4.4.0.2.0"},{"status":"affected","version":"4.4.0.3.0"}],"vendor":"oracle","product":"utilities_framework","cpe":"cpe:2.3:a:oracle:utilities_framework:4.4.0.0.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/netplex/json-smart-v1/issues/10","tags":["issue-tracking","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/netplex/json-smart-v1/pull/11","tags":["patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/netplex/json-smart-v2/issues/67","tags":["exploit","issue-tracking","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/netplex/json-smart-v2/pull/68","tags":["patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.oracle.com/security-alerts/cpujan2022.html","tags":["patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","tags":["web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/03/msg00030.html","tags":["mailing-list","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20240621-0006/","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31684","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/netplex/json-smart-v1","tags":["package"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20240621-0006","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-06-26T20:29:15.371Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-31684","url":"https://www.cve.org/CVERecord?id=CVE-2021-31684","licence":"CVE Terms of Use","modified":"2024-08-03T23:03:33.688Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fg2v-w576-w4v3","url":"https://github.com/advisories/GHSA-fg2v-w576-w4v3","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:11.820Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-31684","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31684","licence":"Public domain","modified":"2026-06-17T03:52:09.503Z"}],"updatedAt":"2026-11-25T22:58:01.613Z","epss":{"score":0.02281,"percentile":0.8363,"date":"2026-12-01T12:00:22.000Z"}}