Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
☕
☕ Maven
Not in CISA KEV
HIGH severity

CVE-2021-31684 — json-smart

HIGHFix: netplex/json-smart-v1#11

CVE-2021-31684 is a high-severity (CVSS 7.5) Out-of-bounds Write vulnerability in net.minidev:json-smart. 1 public exploit reference exists, so weaponization risk is real. A fix is available for net.minidev:json-smart — see the affected versions and patch details below.

Out of bounds read in json-smart

Also known asGHSA-fg2v-w576-w4v3
Published
Updated
Affected
2 pkgs
Patched
2 / 2
Exploits
1 known
Exploitation data as of Oct 10, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for CVE-2021-31684.

EPSS Exploitation Probability

via FIRST.org ↗
2.3%probability of exploitation in next 30 days
Lower Risk-0.02%
Lower risk than most CVEs83th percentile — riskier than 83% of all scored CVEsHighest risk
0.00%0.99%1.98%2.97%0.1%2.3%Apr 26Aug 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

CVE-2021-31684 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.

Where this sits among everything scored

Of 385,386 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.

Real-World Exposure

2 pkgs affected
☕net.minidev:json-smart☕net.minidev:json-smart

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

Description

A vulnerability was discovered in the indexOf function of JSONParserByteArray in JSON Smart versions prior to 1.3.3 and 2.4.5 which causes a denial of service (DOS) via a crafted web request.

Affected Packages

2 total 2 fixed
EcosystemPackageVulnerable rangeFix
☕Mavennet.minidev:json-smart≥ 1.3.0&&< 1.3.31.3.3net.minidev:json-smart:1.3.3
☕Mavennet.minidev:json-smart≥ 2.4.0&&< 2.4.42.4.4net.minidev:json-smart:2.4.4

Affected Products

3 products · 5 configurations
Application
json-smart-v1json-smart_project
≥ 1.3 && < 1.3.3
range
Application
json-smart-v2json-smart_project
≥ 2.4 && < 2.4.4
range
Application
utilities frameworkoracle
3 versions
4.4.0.0.04.4.0.2.04.4.0.3.0
Exploits & PoCs
1

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for net.minidev:json-smart, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update net.minidev:json-smart to 1.3.3 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2021-31684 is resolved across your whole dependency graph.

  3. Workarounds

    Stop feeding it untrusted input: reject or quarantine files and payloads from unverified sources until you can upgrade, restrict accepted formats to the ones you actually need, and run the parsing or decoding step in a least-privileged sandbox or short-lived worker so a crash or corrupted read cannot reach the rest of the process.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatModerate
ProductFixed inAdvisory
Red Hat Fuse 7.11.1json-smartRHSA-2022:8652

Frequently Asked Questions

A vulnerability was discovered in the indexOf function of JSONParserByteArray in JSON Smart versions prior to 1.3.3 and 2.4.5 which causes a denial of service (DOS) via a crafted web request.
O3 Security · Impact-Aware SCA

Is CVE-2021-31684 in your dependencies?

Find it across Maven, including transitive dependencies.

CVE-2021-31684: json-smart DoS — Fixed in 1.3.3