Uncontrolled Resource Consumption in Spray JSON
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.
| Platform | Package | Vulnerable versions | Fixed 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
- 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.0-RC4
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.
This is the only known vulnerability of this package.
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.