CVE catalog

CVE-2021-31684

json-smart: CVE-2021-31684

[CVE catalog]

Severity
High · CVSS 7.5CVSS: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.

DistributionPackageReleaseVersionStatus
Debianjson-smartsid2.5.2-1fixed
Debianjson-smartforky2.5.2-1fixed
Debianjson-smarttrixie2.5.2-1fixed
Debianjson-smartbookworm2.2-2+deb12u1fixed
Ubuntujson-smart18.042.2-1vulnerable
Ubuntujson-smart18.042.2-2vulnerable
Ubuntujson-smart18.042.2-2ubuntu0.18.04.1fixed
Ubuntujson-smart20.042.2-2vulnerable
Ubuntujson-smart20.042.2-2ubuntu0.20.04.1fixed
Ubuntujson-smart22.042.2-2vulnerable
Ubuntujson-smart22.042.2-2ubuntu0.22.04.1fixed
Ubuntujson-smart18.042.2-1vulnerable
Ubuntujson-smart18.042.2-2vulnerable
Ubuntujson-smart18.042.2-2ubuntu0.18.04.1fixed
Ubuntujson-smart20.042.2-2vulnerable
Ubuntujson-smart20.042.2-2ubuntu0.20.04.1fixed
Ubuntujson-smart22.042.2-2vulnerable
Ubuntujson-smart22.042.2-2ubuntu0.22.04.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianjson-smartsourcesid2.5.1-1unimportantNot reportedNot reported
Debianjson-smartsourceforky2.5.1-1unimportantNot reportedNot reported
Debianjson-smartsourcetrixie2.5.1-1unimportantNot reportedNot reported
Debianjson-smartsourcebookworm2.2-2+deb12u1not yet assignedNot reportedNot reported
Ubuntujson-smartdeb18.042.2-2ubuntu0.18.04.1Not reportedUSN-6011-1Not reported
Ubuntujson-smartdeb20.042.2-2ubuntu0.20.04.1Not reportedUSN-6011-1Not reported
Ubuntujson-smartdeb22.042.2-2ubuntu0.22.04.1Not reportedUSN-6011-1Not reported
Ubuntujson-smartdeb18.042.2-2ubuntu0.18.04.1Not reportedUBUNTU-CVE-2021-31684Not reported
Ubuntujson-smartdeb20.042.2-2ubuntu0.20.04.1Not reportedUBUNTU-CVE-2021-31684Not reported
Ubuntujson-smartdeb22.042.2-2ubuntu0.22.04.1Not reportedUBUNTU-CVE-2021-31684Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [json-smart]

    Details (2)
    • 2.2-2+deb12u1 · all · bookworm

      Fixed · Fixed: 2.2-2+deb12u1

      dsa · json-smart · debian · bookworm; dsa · json-smart · debian · 12

    • 2.2-2+deb12u1 · all · bookworm

      Fixed · Fixed: 2.2-2+deb12u1

      dsa · json-smart · debian · bookworm; dsa · json-smart · debian · 12

[Debian 13 (Trixie)]

  • Source package: [json-smart]

    Details (2)
    • 2.5.2-1 · all · trixie

      Fixed · Fixed: 2.5.1-1

      dsa · json-smart · debian · 13

    • 2.5.2-1 · all · trixie

      Fixed · Fixed: 2.5.1-1

      dsa · json-smart · debian · 13

Observed:

References