
CVE catalog
CVE-2021-31684
json-smart: CVE-2021-31684
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.28% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | json-smart | sid | 2.5.2-1 | fixed |
| Debian | json-smart | forky | 2.5.2-1 | fixed |
| Debian | json-smart | trixie | 2.5.2-1 | fixed |
| Debian | json-smart | bookworm | 2.2-2+deb12u1 | fixed |
| Ubuntu | json-smart | 18.04 | 2.2-1 | vulnerable |
| Ubuntu | json-smart | 18.04 | 2.2-2 | vulnerable |
| Ubuntu | json-smart | 18.04 | 2.2-2ubuntu0.18.04.1 | fixed |
| Ubuntu | json-smart | 20.04 | 2.2-2 | vulnerable |
| Ubuntu | json-smart | 20.04 | 2.2-2ubuntu0.20.04.1 | fixed |
| Ubuntu | json-smart | 22.04 | 2.2-2 | vulnerable |
| Ubuntu | json-smart | 22.04 | 2.2-2ubuntu0.22.04.1 | fixed |
| Ubuntu | json-smart | 18.04 | 2.2-1 | vulnerable |
| Ubuntu | json-smart | 18.04 | 2.2-2 | vulnerable |
| Ubuntu | json-smart | 18.04 | 2.2-2ubuntu0.18.04.1 | fixed |
| Ubuntu | json-smart | 20.04 | 2.2-2 | vulnerable |
| Ubuntu | json-smart | 20.04 | 2.2-2ubuntu0.20.04.1 | fixed |
| Ubuntu | json-smart | 22.04 | 2.2-2 | vulnerable |
| Ubuntu | json-smart | 22.04 | 2.2-2ubuntu0.22.04.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | json-smart | source | sid | 2.5.1-1 | unimportant | Not reported | Not reported |
| Debian | json-smart | source | forky | 2.5.1-1 | unimportant | Not reported | Not reported |
| Debian | json-smart | source | trixie | 2.5.1-1 | unimportant | Not reported | Not reported |
| Debian | json-smart | source | bookworm | 2.2-2+deb12u1 | not yet assigned | Not reported | Not reported |
| Ubuntu | json-smart | deb | 18.04 | 2.2-2ubuntu0.18.04.1 | Not reported | USN-6011-1 | Not reported |
| Ubuntu | json-smart | deb | 20.04 | 2.2-2ubuntu0.20.04.1 | Not reported | USN-6011-1 | Not reported |
| Ubuntu | json-smart | deb | 22.04 | 2.2-2ubuntu0.22.04.1 | Not reported | USN-6011-1 | Not reported |
| Ubuntu | json-smart | deb | 18.04 | 2.2-2ubuntu0.18.04.1 | Not reported | UBUNTU-CVE-2021-31684 | Not reported |
| Ubuntu | json-smart | deb | 20.04 | 2.2-2ubuntu0.20.04.1 | Not reported | UBUNTU-CVE-2021-31684 | Not reported |
| Ubuntu | json-smart | deb | 22.04 | 2.2-2ubuntu0.22.04.1 | Not reported | UBUNTU-CVE-2021-31684 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libjson-smart-java]Fixed
Source package: [json-smart]
Details (2)
2.2-2+deb12u1· all · bookwormFixed · Fixed:
2.2-2+deb12u1dsa · json-smart · debian · bookworm; dsa · json-smart · debian · 12
2.2-2+deb12u1· all · bookwormFixed · Fixed:
2.2-2+deb12u1dsa · json-smart · debian · bookworm; dsa · json-smart · debian · 12
[Debian 13 (Trixie)]
- [libjson-smart-java]Fixed
Source package: [json-smart]
Details (2)
2.5.2-1· all · trixieFixed · Fixed:
2.5.1-1dsa · json-smart · debian · 13
2.5.2-1· all · trixieFixed · Fixed:
2.5.1-1dsa · json-smart · debian · 13
Observed:
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-31684]
- [https://osv.dev/vulnerability/DLA-3373-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-31684]
- [https://osv.dev/vulnerability/USN-6011-1]
- [https://security-tracker.debian.org/tracker/CVE-2021-31684]
- [https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-31684.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-2700.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]