CVE-2018-9159
MEDIUM 5.3CVSS 3.0Moderate severity vulnerability that affects com.sparkjava:spark-core
In Spark before 2.7.2, a remote attacker can read unintended static files via various representations of absolute or relative pathnames, as demonstrated by file: URLs and directory traversal sequences. NOTE: this product is unrelated to Ignite Realtime Spark.
- Published
- 31 Mar 2018
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-76qr-mmh8-cp8f
- Sources
- NVDJSONOSV GHSA-76qr-mmh8-cp8fJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | sparkjava | sparkcpe:2.3:a:sparkjava:spark:*:*:*:*:*:*:*:* |
< 2.7.2 | 2.7.2 |
| OSV | Maven | com.sparkjava:spark-core | < 2.7.2 | 2.7.2 |
References
- http://sparkjava.com/news#spark-272-released · Vendor Advisory, WEB
- https://access.redhat.com/errata/RHSA-2018:2020 · Third Party Advisory, WEB
- https://access.redhat.com/errata/RHSA-2018:2405 · Third Party Advisory, WEB
- https://github.com/perwendel/spark/commit/030e9d00125cbd1ad759668f85488aba1019c668 · Patch, Third Party Advisory, WEB
- https://github.com/perwendel/spark/commit/a221a864db28eb736d36041df2fa6eb8839fc5cd · Patch, Third Party Advisory, WEB
- https://github.com/perwendel/spark/commit/ce9e11517eca69e58ed4378d1e47a02bd06863cc · Patch, Third Party Advisory, WEB
- https://github.com/perwendel/spark/issues/981 · Issue Tracking, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-9159 · ADVISORY
- https://github.com/advisories/GHSA-76qr-mmh8-cp8f · ADVISORY
- https://github.com/perwendel/spark · PACKAGE
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 31 Mar 2018)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 19 Oct 2018)