CVE-2018-9159Sparkjava Spark
Medium 5.3 No auth needed
Follow: this CVE · Sparkjava · Sparkjava Spark We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.0
- 5.3
- EPSS
- 4.4% probability of exploitation in 30 days · percentile 92
- Auth required
- No
- Published
- Mar 31, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Spark.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | com.sparkjava:spark-core |
< 2.7.2 |
2.7.2 |
— |
Per OSV / GitHub Advisories (GHSA-76qr-mmh8-cp8f). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| sparkjava | spark | < 2.7.2 |
Official sources
References
Links published by the sources. Open them with care.
- sparkjava.com Vendor Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Issue Tracking Third Party Advisory