Skip to content
Fencer Intel
high 7.5

CVE-2018-18854 json

Uncontrolled Resource Consumption in spray-json

published 8y ago modified 4mo ago also GHSA-q8xj-8xg3-w432 , EUVD-2018-0769

cvss
7.5
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.9%
EPSS 1.9% chance of exploitation in 30 days, percentile 79%
public exploits
0
none known

Summary

Lightbend Spray spray-json through 1.3.4 allows remote attackers to cause a denial of service (resource consumption) because of Algorithmic Complexity during the parsing of many JSON object fields (with keys that have the same hash code).

Patch / fix

  • maven io.spray:spray-json_2.12 1.3.5
  • maven io.spray:spray-json_2.11 1.3.5
  • maven io.spray:spray-json_2.10 1.3.5

Is CVE-2018-18854 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 Fencer

Exploit prediction

1.90% chance of exploitation in the next 30 days, higher than 79% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • github.com https://github.com/spray/spray-json/issues/277 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.0 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P
GitHub 3.0 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
maven io.spray:spray-json_2.12
<1.3.5
1.3.5
maven io.spray:spray-json_2.11
<1.3.5
1.3.5
maven io.spray:spray-json_2.10
<1.3.5
1.3.5

Classification

Weakness
  • CWE-400 Uncontrolled Resource Consumption

References

Sources

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.