Skip to main content
No exploitation reportedFix available

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?

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
  1. 2021-06-0120:15CVE publishedNVD

Versions per branch

OSV · NVD
Json-smart project json-smart-v1
BranchAffectedFixed in
2.4≥ 2.4.0, < 2.4.42.4.4
1.3≥ 1.3, < 1.3.31.3.3
1.3≥ 1.3.0, < 1.3.31.3.3
Oracle utilities framework
BranchAffectedFixed in
4.4= 4.4.0.0.0no fix published
4.4= 4.4.0.2.0no fix published
4.4= 4.4.0.3.0no fix published
Json-smart project json-smart-v2
BranchAffectedFixed in
2.4≥ 2.4, < 2.4.42.4.4

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

  • CVE-2021-31684 Red Hat Product Security1 product fixed · 9 known affected

    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

  • RHSA-2022:8652 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat Fuse 7.11.1 release and security update

Full record on NVD

Fix

  1. Update Json-smart project json-smart-v1 to 2.4.4 · 1.3.3
  2. 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…
  3. No fix available, says the vendor Red Hat Product Security CVE-2021-31684 · 1 productAffected
  4. No fix planned, says the vendor Red Hat Product Security CVE-2021-31684 · 7 productsOut of support scope
  5. No fix planned, says the vendor Red Hat Product Security CVE-2021-31684 · 1 productWill not fix

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

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?

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.

Is CVE-2021-31684 actively exploited?

Active exploitation of CVE-2021-31684 has not been confirmed. Its EPSS score was 2.3% on 2026-11-08, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2021-31684?

CVE-2021-31684 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

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

Sources for this record