CVEfocus › CVE database › CVE-2021-31684

CVE-2021-31684

CVSS 7.5 HighEPSS 2.3% (higher than 84% of CVEs)Published 2021-06-01Updated 2024-08-03Assigner: mitre

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.

What to do

Fixed builds are available from Debian, Maven, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

7Fixed

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04json-smartFixed2.2-2ubuntu0.22.04.1UBUNTU-CVE-2021-31684
Ubuntu 20.04json-smartFixed2.2-2ubuntu0.20.04.1UBUNTU-CVE-2021-31684
Ubuntu 18.04json-smartFixed2.2-2ubuntu0.18.04.1UBUNTU-CVE-2021-31684
Debian 14json-smartFixed2.5.1-1DEBIAN-CVE-2021-31684
Debian 13json-smartFixed2.5.1-1DEBIAN-CVE-2021-31684
Debian 12json-smartFixed2.2-2+deb12u1DEBIAN-CVE-2021-31684
Maven librarynet.minidev:json-smartFixed1.3.3GHSA-fg2v-w576-w4v3

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.