Live threats

All CVEs / Lightbend

CVE-2018-18854Lightbend Spray-json

High 7.5 No auth needed

Priority
60
CVSS 3.0
7.5
EPSS
1.9%
probability of exploitation in 30 days · percentile 80
Auth required
No
Published
Oct 31, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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).

Original NVD text.

What to do

  1. Apply the vendor's security update for Spray-json.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven io.spray:spray-json_2.10 < 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.12 < 1.3.5 1.3.5 —

Per OSV / GitHub Advisories (GHSA-q8xj-8xg3-w432). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
lightbendspray-json≤ 1.3.4

Official sources

References

Links published by the sources. Open them with care.