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.
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://www.oracle.com/security-alerts/cpujan2022.html
- https://github.com/advisories/GHSA-fg2v-w576-w4v3