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

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), io.spray:spray-json_2.11 (Maven), io.spray:spray-json_2.12 (Maven). 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
    # 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
    # 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
    # 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

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.