HIGH 7.5
CVE-2018-18853
Uncontrolled Resource Consumption in spray-json when parsing decimal digit fields
Description
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 a field composed of many decimal digits.
Affected Maven artifacts (3)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| io.spray » spray-json_2.10 | < 1.3.5 | 1.3.5 |
| io.spray » spray-json_2.11 | < 1.3.5 | 1.3.5 |
| io.spray » spray-json_2.12 | < 1.3.5 | 1.3.5 |
Blast radius
1affected artifacts
12affected versions
1,108dependent artifacts (est.)
68,537dependent versions
54% of the dependent artifacts (602) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 13,164 |
| 2 hops | 24,259 |
| 3 hops | 16,488 |
| 4 hops | 9,258 |
| 5 hops | 3,530 |
| 6 hops | 1,838 |
Most used dependents
- com.typesafe.akka » akka-http-spray-json243 usages
- com.storm-enroute » scalameter161 usages
- io.lemonlabs » scala-uri60 usages
- com.typesafe.akka » akka-http-spray-json-experimental57 usages
- com.lightbend.lagom » lagom-scaladsl-server53 usages
- com.netaporter » scala-uri45 usages
- org.locationtech.geotrellis » geotrellis-spark38 usages
- com.lightbend.akka.discovery » akka-discovery-kubernetes-api36 usages
- org.elasticmq » elasticmq-rest-sqs34 usages
- org.locationtech.geotrellis » geotrellis-s332 usages
- com.daml » ledger-api-common32 usages
- org.locationtech.geotrellis » geotrellis-raster31 usages
- com.lightbend.akka.management » akka-management-cluster-bootstrap30 usages
- com.lightbend.lagom » lagom-scaladsl-testkit29 usages
- org.eclipse.ditto » ditto-services-base28 usages
Computed from the dependency graph of build 20261125.0317 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2018-18853 | nvd.nist.gov |
| Advisory | GitHub advisory GHSA-f94m-mqhr-mc29 | github.com |
| Package | spray/spray-json | github.com |
| Web | spray/spray-json issue #278 | github.com |
