Medium

Uncontrolled Resource Consumption in Spray JSON

  • Disclosed: 28.06.2022
  • Updated: 11.10.2026 12:22

Recursive decent parsers are susceptible too StackOverflowExceptions on too deeply nested structures as currently "open" parsing state is kept on the stack.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) io.spray:spray-json_2.10 < 1.3.5 1.3.5
Java / Kotlin (Maven) io.spray:spray-json_2.11 < 1.3.5 1.3.5
Java / Kotlin (Maven) io.spray:spray-json_2.11.0-RC4 all versions no fix
Java / Kotlin (Maven) io.spray:spray-json_2.12 < 1.3.5 1.3.5
Java / Kotlin (Maven) io.spray:spray-json_2.12.0-M3 all versions no fix
Java / Kotlin (Maven) io.spray:spray-json_2.12.0-M5 all versions no fix
Java / Kotlin (Maven) io.spray:spray-json_2.12.0-RC1 all versions no fix
Java / Kotlin (Maven) io.spray:spray-json_2.12.0-RC2 all versions no fix
Java / Kotlin (Maven) io.spray:spray-json_2.13.0-M2 all versions no fix
Java / Kotlin (Maven) io.spray:spray-json_2.13.0-M4 all versions no fix
Java / Kotlin (Maven) io.spray:spray-json_2.13.0-M5 < 1.3.5 1.3.5
Java / Kotlin (Maven) io.spray:spray-json_2.9.3 all versions no fix

References

CVSS score -
Weakness (CWE)
CWE-400
Platform
Java / Kotlin (Maven)
Package
io.spray:spray-json_2.10, io.spray:spray-json_2.11, io.spray:spray-json_2.11.0-RC4
Disclosed
28.06.2022
Updated
11.10.2026 12:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-ww3v-6xjf-jv28 - CC BY 4.0

Vulnerability history: io.spray:spray-json_2.11

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
3
First → latest
11.2018 06.2022
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 2
  • Medium 1

Disclosures per year

  1. 2018: 2
  2. 2019: 0
  3. 2020: 0
  4. 2021: 0
  5. 2022: 1
  6. 2023: 0
  7. 2024: 0
  8. 2025: 0
  9. 2026: 0
  1. Uncontrolled Resource Consumption in Spray JSON this entry
    Medium CVE-2018-18855 < 1.3.5 1.3.5
  2. High · 7.5 CVE-2018-18854 < 1.3.5 1.3.5

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.