# CVE-2021-27568: Improper Check for Unusual or Exceptional Conditions in json-smart

Source: https://junglewise.ai/threats/cve-2021-27568-improper-check-for-unusual-or-exceptional-conditions-in-json  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2021-06-16  
License: CC BY 4.0 with a link back

CVE-2021-27568 · Severity: low · CVSS 3.1 · Published 2021-06-16

Improper Check for Unusual or Exceptional Conditions in json-smart

Technologies: [net.minidev:json-smart (Maven)](https://junglewise.ai/threats/technologies/net-minidev-json-smart). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2021-27568 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2021-27568 being exploited in the wild.

**How severe is CVE-2021-27568?** Low severity, with a CVSS score of 3.1, published 16 June 2021.

**Which products and versions are affected?** net.minidev:json-smart (Maven) ECOSYSTEM:introduced=0,fixed=1.3.2; net.minidev:json-smart-mini (Maven) ECOSYSTEM:introduced=0,fixed=1.3.2.

**Is there a fix for CVE-2021-27568?** Yes. net.minidev:json-smart (Maven): upgrade to 1.3.2 or later; net.minidev:json-smart-mini (Maven): upgrade to 1.3.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2021-27568?** Check whether you run net.minidev:json-smart (Maven) or net.minidev:json-smart-mini (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- net.minidev:json-smart (Maven): upgrade to 1.3.2 or later

  ```sh
  # set net.minidev:json-smart to 1.3.2 in your pom.xml or build.gradle
  ```

- net.minidev:json-smart-mini (Maven): upgrade to 1.3.2 or later

  ```sh
  # set net.minidev:json-smart-mini to 1.3.2 in your pom.xml or build.gradle
  ```


## Affected products

- net.minidev:json-smart (Maven) ECOSYSTEM:introduced=0,fixed=1.3.2
- net.minidev:json-smart-mini (Maven) ECOSYSTEM:introduced=0,fixed=1.3.2

## Identifiers

- CVE-2021-27568
- GHSA-v528-7hrm-frqp

## Related threats

- [Netplex Json-smart Uncontrolled Recursion vulnerability](https://junglewise.ai/threats/cve-2024-57699-netplex-json-smart-uncontrolled-recursion-vulnerability)
- [net.minidev json-smart uncontrolled recursion in JSON parser](https://junglewise.ai/threats/cve-2023-1370-net-minidev-json-smart-uncontrolled-recursion-in-json-parser)
- [Out of bounds read in json-smart](https://junglewise.ai/threats/cve-2021-31684-out-of-bounds-read-in-json-smart)
