CVE-2021-31684
No exploitation reported by the sources we read.
- Published2021-06-01
- Fixed in2.4.4 · 1.3.3
- WeaknessCWE-787
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
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.
Timeline
dates in UTC- 2021-06-0120:15CVE publishedNVD
Versions per branch
OSV · NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2.4 | ≥ 2.4.0, < 2.4.4 | 2.4.4 | OSV |
| 1.3 | ≥ 1.3, < 1.3.3 | 1.3.3 | NVD |
| 1.3 | ≥ 1.3.0, < 1.3.3 | 1.3.3 | OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 4.4 | = 4.4.0.0.0 | no fix published | NVD |
| 4.4 | = 4.4.0.2.0 | no fix published | NVD |
| 4.4 | = 4.4.0.3.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2.4 | ≥ 2.4, < 2.4.4 | 2.4.4 | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- apache-druidMinimOSall versions · fixed in 38.0.0-r0and 1 other package
- celeborn-0.5Chainguardall versions · fixed in 0.5.4-r26
- celeborn-0.6Wolfiall versions · fixed in 0.6.3-r7
- celeborn-0.6Chainguardall versions · fixed in 0.6.3-r7
- druidWolfiall versions · fixed in 37.0.0-r56
- druidWolfiall versions · fixed in 37.0.0-r14
- druidWolfiall versions · fixed in 34.0.0-r6
- druidChainguardall versions · fixed in 37.0.0-r56
23 more package ranges on OSV.dev
Vendor advisories
json-smart: Denial of Service in JSONParserByteArray function
json-smart as a component of Red Hat build of Quarkus · json-smart as a component of Red Hat Decision Manager 7 · json-smart as a component of Red Hat Integration Data Virtualisation Operator · +6 more
Red Hat Security Advisory: Red Hat Fuse 7.11.1 release and security update
Fix
- Update Json-smart project json-smart-v1 to 2.4.4 · 1.3.3
- Vendor fix Red Hat Product Security RHSA-2022:8652 · 1 productBefore applying the update, back up your existing installation, including all applications, configuration files, databases and database settings, and so on. Installation instructions are available from the Fuse 7.11.1 product documentation page: https://access.redhat.com/documentation/en-us/red_ha…
- No fix available, says the vendor Red Hat Product Security CVE-2021-31684 · 1 productAffected
- No fix planned, says the vendor Red Hat Product Security CVE-2021-31684 · 7 productsOut of support scope
- No fix planned, says the vendor Red Hat Product Security CVE-2021-31684 · 1 productWill not fix
Advisories and patches
- github.comPatch
- github.comPatch
- www.oracle.comPatch
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-08
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionnone2024-06-26
- NVDCVSS 3.17.5read 2026-10-23
- NVDCVSS 2.05read 2026-10-23
- NVDweakness (CWE)CWE-787read 2026-10-23
- FIRST EPSSEPSS score2.3 %2026-11-08
- OSVaffected packages—
- GitHub AdvisoriesadvisoryHIGH2021-06-02
Identifiers
- CGA-5gmm-gphr-gcrmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5j4m-vchp-g3qfsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-637g-f5ph-f272same flawChainguard · CC-BY-NC-ND-4.0
- CGA-646w-55m7-p4qqsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-64j2-4cqw-m572same flawChainguard · CC-BY-NC-ND-4.0
- CGA-6v9h-4w9j-v57qsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-8mcm-gmq2-v5qqsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-92h6-g8qq-4mgmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-9c49-j267-gv2xsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-9gg7-x68h-gr2rsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-cfm5-fhp9-7q3jsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-cpm9-922c-3jcpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-f548-32q6-f9jjsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-f552-qj85-qvw2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-g5vv-35wp-9p44same flawChainguard · CC-BY-NC-ND-4.0
- CGA-h26f-vgp7-x6qmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-hx9c-22v2-6j24same flawChainguard · CC-BY-NC-ND-4.0
- CGA-jqp4-vf9p-32hpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-mjxq-qf57-pjwcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-p7cm-fh5g-33xjsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-q2fv-vc8f-xwmvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-r8gv-m9v6-pjw4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-rvwj-vrhj-cch6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-v4vx-4p9q-vq6wsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-wf27-q43x-3h2hsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-wxwm-xchx-hch3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-xm3f-p3rv-x8jhsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-xp7v-px6w-6chhsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-xx36-9x9c-jc72same flawChainguard · CC-BY-NC-ND-4.0
- CGA-xx46-q33j-3pprsame flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2022-0980same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-fg2v-w576-w4v3same flawGitHub Advisory Database · CC-BY-4.0
- MINI-jmm2-mfmr-6wm3same flawMinimOS · LicenseRef-unstated
- MINI-qhh6-p4hr-x8ppsame flawMinimOS · LicenseRef-unstated
- MINI-vxm4-m6hj-qvj5same flawMinimOS · LicenseRef-unstated
- MINI-w272-p543-x4cpsame flawMinimOS · LicenseRef-unstated
- DLA-3373-1advisory covering several CVEsDebian · LicenseRef-unstated
- USN-6011-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Published
- 2021-06-01
- Last Modified
- 2026-06-17
- NVD status
- Modified
- GitHub Advisory
- GHSA-fg2v-w576-w4v3
Frequently asked questions
What is CVE-2021-31684?
Is CVE-2021-31684 actively exploited?
What is the CVSS score for CVE-2021-31684?
Running json-smart? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-fg2v-w576-w4v3
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0