CVE-2018-18854 json
Uncontrolled Resource Consumption in spray-json
published 2018-10-31 8 y ago modified 2026-06-17 4 mo 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
Exploit prediction
1.90% chance of exploitation in the next 30 days, higher than 79% of all scored CVEs (FIRST EPSS, 2026-11-08).
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
-
github.com
/spray/spray-json/issues/277
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2018-18854
advisory
-
github.com
/advisories/GHSA-q8xj-8xg3-w432
advisory
-
github.com
/spray/spray-jso
package
Sources
- CVE List CVE-2018-18854
- GitHub Advisory GHSA-q8xj-8xg3-w432
- NVD CVE-2018-18854
Fencer Vulns 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.