CVE-2021-27568 json
Improper Check for Unusual or Exceptional Conditions in json-smart
published 5y ago modified last mo. also GHSA-v528-7hrm-frqp , EUVD-2021-1405
- cvss
- 5.9
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.9%
- EPSS 2.9% chance of exploitation in 30 days, percentile 86%
- public exploits
- 0
- none known
Summary
An issue was discovered in netplex json-smart-v1 through 2015-10-23 and json-smart-v2 through 2.4. An exception is thrown from a function, but it is not caught, as demonstrated by NumberFormatException. When it is not caught, it may cause programs using the library to crash or expose sensitive information.
Patch / fix
- maven net.minidev:json-smart 1.3.2, 2.3.1, 2.4.1
- maven net.minidev:json-smart-mini 1.3.2
- json-smart_project json-smart-v1 1.3.2
- json-smart_project json-smart-v2 2.3.1, 2.4.1
- oracle oss_support_tools 2.12.42
- github.com/netplex/json-smart-v1@768db58 commit
- github.com/netplex/json-smart-v2#72 pull request
- oracle.com//security-alerts/cpujul2021.html advisory
- oracle.com/security-alerts/cpujan2022.html advisory
- oracle.com/security-alerts/cpuapr2022.html advisory
Is CVE-2021-27568 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-27568 updated cvss 5.9
json-smart: uncaught exception may lead to crash or information disclosure
-
Red Hat Integration Camel K 1 json-smartaffected: no fix available
-
Red Hat JBoss Fuse 6 json-smartaffected: no fix planned “Out of support scope”
-
Red Hat OpenShift Container Platform 4 jenkins-2-plugins, openshift4/ose-metering-hive, openshift4/ose-metering-hadoop, openshift4/ose-metering-presto, openshift4/ose-logging-elasticsearch6affected: no fix available, no fix planned “Out of support scope”
-
Red Hat AMQ Streams 1.8.0fixed: vendor fix RHSA-2021:3225
-
Red Hat Fuse 7.9fixed: vendor fix RHSA-2021:3140
-
Red Hat Fuse 7.10fixed: vendor fix RHSA-2021:5134
-
Red Hat Integrationfixed: vendor fix RHSA-2021:4918
-
Red Hat Integration Camel Quarkus 2fixed: vendor fix RHSA-2021:4767
show 1 moreshow fewer
-
Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/elasticsearch6-rhel8 Red Hat Integration Camel Quarkus 1 json-smart Red Hat OpenShift Container Platform 3.11 openshift3/ose-logging-elasticsearch5not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- last mo.
Exploit prediction
2.89% chance of exploitation in the next 30 days, higher than 86% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/netplex/json-smart-v1/issues/7 referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/netplex/json-smart-v2/issues/60 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
| GitHub | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | net.minidev:json-smart | <1.3.2 >=2.4.0, <2.4.1 >=2.0.0, <2.3.1 |
1.3.2 2.4.1 2.3.1 |
| maven | net.minidev:json-smart-mini | <1.3.2 |
1.3.2 |
Classification
- Weakness
-
- CWE-754 Improper Check for Unusual or Exceptional Conditions
References
-
oracle.com
//security-alerts/cpujul2021.html
web, patch, third-party-advisory
-
oracle.com
/security-alerts/cpujan2022.html
web, patch, third-party-advisory
-
oracle.com
/security-alerts/cpuapr2022.html
web, patch, third-party-advisory
-
github.com
/netplex/json-smart-v2/pull/72
web
-
github.com
/netplex/json-smart-v1/commit/768db58ee0e3e344fcdb574b7629765308a1d0af
web
-
github.com
/netplex/json-smart-v1/issues/7
web, exploit, third-party-advisory
-
github.com
/netplex/json-smart-v2/issues/60
web, exploit, third-party-advisory
-
lists.apache.org
/thread.html/rf70210b4d63191c0bfb2a0d5745e104484e71703bf5ad9cb01c980c6%40%3Ccommits.druid.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/re237267da268c690df5e1c6ea6a38a7fc11617725e8049490f58a6fa%40%3Ccommits.druid.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/rb6287f5aa628c8d9af52b5401ec6cc51b6fc28ab20d318943453e396%40%3Ccommits.druid.apache.org%3E
mailing-list
-
nvd.nist.gov
/vuln/detail/CVE-2021-27568
advisory
-
github.com
/netplex/json-smart-v2/issues/62
web
-
github.com
/netplex/json-smart-v2
package
-
lists.apache.org
/thread.html/rb6287f5aa628c8d9af52b5401ec6cc51b6fc28ab20d318943453e396@%3Ccommits.druid.apache.org%3E
web
-
lists.apache.org
/thread.html/re237267da268c690df5e1c6ea6a38a7fc11617725e8049490f58a6fa@%3Ccommits.druid.apache.org%3E
web
-
lists.apache.org
/thread.html/rf70210b4d63191c0bfb2a0d5745e104484e71703bf5ad9cb01c980c6@%3Ccommits.druid.apache.org%3E
web
Sources
- CVE List CVE-2021-27568
- GitHub Advisory GHSA-v528-7hrm-frqp
- NVD CVE-2021-27568
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.