Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Manager Server 3.1 | release-notes-susemanager | 3.1.8-5.38.1 | SUSE-RU-2018:2639-1 |
| SUSE Manager Server 3.1 | spark | 2.3-3.3.1 | SUSE-SU-2018:2689-1 |
| SUSE Manager Proxy 3.1 | release-notes-susemanager-proxy | 3.1.8-0.15.29.1 | SUSE-RU-2018:2639-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 2 repositories
-
shoucheng3/perwendel__spark_CVE-2018-9159_2_7_2_fixed ★ 0 · Sep 6, 2025
-
shoucheng3/perwendel__spark_CVE-2018-9159_2-7-1 ★ 0 · Aug 20, 2025
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | com.sparkjava:spark-core | < 2.7.2 | 2.7.2 | GHSA-76qr-mmh8-cp8f |
Advisories 2
- SUSE-RU-2018:2639-1 Recommended update for SUSE Manager 3.1 Release Notes SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:2689-1 Security update for spark SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://github.com/perwendel/spark/issues/981
- https://github.com/perwendel/spark/commit/a221a864db28eb736d36041df2fa6eb8839fc5cd
- RHSA-2018:2020 vendor-advisory
- RHSA-2018:2405 vendor-advisory
- https://github.com/perwendel/spark/commit/ce9e11517eca69e58ed4378d1e47a02bd06863cc
- http://sparkjava.com/news#spark-272-released
- https://github.com/perwendel/spark/commit/030e9d00125cbd1ad759668f85488aba1019c668