Ubuntu CVE Tracker
UBUNTU-CVE-2021-31684
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:18.04:LTS | json-smart | All versions before 2.2-2ubuntu0.18.04.1 (fixed in 2.2-2ubuntu0.18.04.1) |
| Ubuntu:20.04:LTS | json-smart | All versions before 2.2-2ubuntu0.20.04.1 (fixed in 2.2-2ubuntu0.20.04.1) |
| Ubuntu:22.04:LTS | json-smart | All versions before 2.2-2ubuntu0.22.04.1 (fixed in 2.2-2ubuntu0.22.04.1) |
References
- https://ubuntu.com/security/CVE-2021-31684
- https://github.com/netplex/json-smart-v1/issues/10
- https://github.com/netplex/json-smart-v1/pull/11
- https://github.com/netplex/json-smart-v2/issues/67
- https://github.com/netplex/json-smart-v2/pull/68
- https://ubuntu.com/security/notices/USN-6011-1
- https://www.cve.org/CVERecord?id=CVE-2021-31684