cve.bz

CVE-2021-31684 Out-of-bounds Write

7.5 highExploit referenceEPSS 2.3%Fix available

High (7.5). EPSS 2.3% estimated probability of exploitation activity in the next 30 days. Fixed in net.minidev:json-smart 1.3.3, 2.4.4.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
2.3% (unchanged from 2.3% a week ago; 2.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 84th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-06-26. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-31684 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-31684?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-31684?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-31684 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
json-smart_project:json-smart-v1from 1.3 before 1.3.3
json-smart_project:json-smart-v2from 2.4 before 2.4.4
oracle:utilities_framework4.4.0.0.0
oracle:utilities_framework4.4.0.2.0
oracle:utilities_framework4.4.0.3.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-fg2v-w576-w4v3Mavennet.minidev:json-smart>=1.3.0 <1.3.31.3.3
GHSA-fg2v-w576-w4v3Mavennet.minidev:json-smart>=2.4.0 <2.4.42.4.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10json-smart2.2-2+deb10u1DLA-3373-1
Debian12json-smart2.2-2+deb12u1DEBIAN-CVE-2021-31684
Debian13, 14json-smart2.5.1-1DEBIAN-CVE-2021-31684
Ubuntu18.04:LTSjson-smart2.2-2ubuntu0.18.04.1UBUNTU-CVE-2021-31684 USN-6011-1
Ubuntu20.04:LTSjson-smart2.2-2ubuntu0.20.04.1UBUNTU-CVE-2021-31684 USN-6011-1
Ubuntu22.04:LTSjson-smart2.2-2ubuntu0.22.04.1UBUNTU-CVE-2021-31684 USN-6011-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Fuse 7.11.1json-smartFixed 2022-11-28RHSA-2022:8652
A-MQ Clients 2json-smartNot affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch6-rhel8Not affected
Red Hat AMQ Broker 7json-smartNot affected
Red Hat build of Debezium 1json-smartNot affected
Red Hat build of Quarkusjson-smartAffected
Red Hat Data Grid 8json-smartNot affected
Red Hat Decision Manager 7json-smartOut of support scope
Red Hat Integration Camel K 1json-smartNot affected
Red Hat Integration Camel Quarkus 1json-smartNot affected
Red Hat Integration Data Virtualisation Operatorjson-smartOut of support scope
Red Hat JBoss Data Grid 7json-smartOut of support scope
Red Hat JBoss Enterprise Application Platform 6json-smartOut of support scope
Red Hat JBoss Enterprise Application Platform 7json-smartNot affected
Red Hat JBoss Enterprise Application Platform Expansion Packjson-smartNot affected
Red Hat JBoss Fuse 6json-smartOut of support scope
Red Hat JBoss Fuse Service Works 6json-smartOut of support scope
Red Hat OpenShift Application Runtimesjson-smartNot affected
Red Hat Process Automation 7json-smartOut of support scope
Red Hat Single Sign-On 7json-smartWill not fix
2 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-31684.

References

Check your stackJSON