# CVE-2018-18853: Uncontrolled Resource Consumption in spray-json when parsing decimal digit fields

Source: https://junglewise.ai/threats/cve-2018-18853-uncontrolled-resource-consumption-in-spray-json-when-parsing  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2018-11-09  
License: CC BY 4.0 with a link back

CVE-2018-18853 · Severity: low · CVSS 3 · Published 2018-11-09

Uncontrolled Resource Consumption in spray-json when parsing decimal digit fields

Technologies: [io.spray:spray-json_2.10 (Maven)](https://junglewise.ai/threats/technologies/io-spray-spray-json-2-10), [io.spray:spray-json_2.11 (Maven)](https://junglewise.ai/threats/technologies/io-spray-spray-json-2-11), [io.spray:spray-json_2.12 (Maven)](https://junglewise.ai/threats/technologies/io-spray-spray-json-2-12). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

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

**How severe is CVE-2018-18853?** Low severity, with a CVSS score of 3, published 9 November 2018.

**Which products and versions are affected?** io.spray:spray-json_2.10 (Maven) ECOSYSTEM:introduced=0,fixed=1.3.5; io.spray:spray-json_2.11 (Maven) ECOSYSTEM:introduced=0,fixed=1.3.5; io.spray:spray-json_2.12 (Maven) ECOSYSTEM:introduced=0,fixed=1.3.5.

**Is there a fix for CVE-2018-18853?** Yes. io.spray:spray-json_2.10 (Maven): upgrade to 1.3.5 or later; io.spray:spray-json_2.11 (Maven): upgrade to 1.3.5 or later; io.spray:spray-json_2.12 (Maven): upgrade to 1.3.5 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2018-18853?** Check whether you run io.spray:spray-json_2.10 (Maven), io.spray:spray-json_2.11 (Maven) or io.spray:spray-json_2.12 (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

- io.spray:spray-json_2.10 (Maven): upgrade to 1.3.5 or later

  ```sh
  # set io.spray:spray-json_2.10 to 1.3.5 in your pom.xml or build.gradle
  ```

- io.spray:spray-json_2.11 (Maven): upgrade to 1.3.5 or later

  ```sh
  # set io.spray:spray-json_2.11 to 1.3.5 in your pom.xml or build.gradle
  ```

- io.spray:spray-json_2.12 (Maven): upgrade to 1.3.5 or later

  ```sh
  # set io.spray:spray-json_2.12 to 1.3.5 in your pom.xml or build.gradle
  ```


## Affected products

- io.spray:spray-json_2.10 (Maven) ECOSYSTEM:introduced=0,fixed=1.3.5
- io.spray:spray-json_2.11 (Maven) ECOSYSTEM:introduced=0,fixed=1.3.5
- io.spray:spray-json_2.12 (Maven) ECOSYSTEM:introduced=0,fixed=1.3.5

## Identifiers

- CVE-2018-18853
- GHSA-f94m-mqhr-mc29

## Related threats

- [Uncontrolled Resource Consumption in Spray JSON](https://junglewise.ai/threats/cve-2018-18855-uncontrolled-resource-consumption-in-spray-json)
- [Uncontrolled Resource Consumption in spray-json](https://junglewise.ai/threats/cve-2018-18854-uncontrolled-resource-consumption-in-spray-json)
