# CVE-2018-18855: Uncontrolled Resource Consumption in Spray JSON

Source: https://junglewise.ai/threats/cve-2018-18855-uncontrolled-resource-consumption-in-spray-json  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-06-28  
License: CC BY 4.0 with a link back

CVE-2018-18855 · Severity: info · Published 2022-06-28

Uncontrolled Resource Consumption in Spray JSON

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-18855 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2018-18855 being exploited in the wild.

**How severe is CVE-2018-18855?** Informational severity, published 28 June 2022.

**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.11.0-RC4 (Maven) ECOSYSTEM:introduced=0; io.spray:spray-json_2.12 (Maven) ECOSYSTEM:introduced=0,fixed=1.3.5; and 8 more.

**Is there a fix for CVE-2018-18855?** 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; io.spray:spray-json_2.13.0-M5 (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-18855?** Check whether you run io.spray:spray-json_2.10 (Maven), io.spray:spray-json_2.11 (Maven), io.spray:spray-json_2.11.0-RC4 (Maven) or one of the others listed 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
  ```

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

  ```sh
  # set io.spray:spray-json_2.13.0-M5 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.11.0-RC4 (Maven) ECOSYSTEM:introduced=0
- io.spray:spray-json_2.12 (Maven) ECOSYSTEM:introduced=0,fixed=1.3.5
- io.spray:spray-json_2.12.0-M3 (Maven) ECOSYSTEM:introduced=0
- io.spray:spray-json_2.12.0-M5 (Maven) ECOSYSTEM:introduced=0
- io.spray:spray-json_2.12.0-RC1 (Maven) ECOSYSTEM:introduced=0
- io.spray:spray-json_2.12.0-RC2 (Maven) ECOSYSTEM:introduced=0
- io.spray:spray-json_2.13.0-M2 (Maven) ECOSYSTEM:introduced=0
- io.spray:spray-json_2.13.0-M4 (Maven) ECOSYSTEM:introduced=0
- io.spray:spray-json_2.13.0-M5 (Maven) ECOSYSTEM:introduced=0,fixed=1.3.5
- io.spray:spray-json_2.9.3 (Maven) ECOSYSTEM:introduced=0

## Identifiers

- CVE-2018-18855
- GHSA-ww3v-6xjf-jv28

## Related threats

- [Uncontrolled Resource Consumption in spray-json when parsing decimal digit fields](https://junglewise.ai/threats/cve-2018-18853-uncontrolled-resource-consumption-in-spray-json-when-parsing)
- [Uncontrolled Resource Consumption in spray-json](https://junglewise.ai/threats/cve-2018-18854-uncontrolled-resource-consumption-in-spray-json)
