CVE-2018-9159 json
Moderate severity vulnerability that affects com.sparkjava:spark-core
published 2018-03-31 8 y ago modified 2026-06-17 4 mo ago also GHSA-76qr-mmh8-cp8f , EUVD-2018-0533
- cvss
- 5.3
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.4%
- EPSS 4.4% chance of exploitation in 30 days, percentile 91%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven com.sparkjava:spark-core 2.7.2
- sparkjava spark 2.7.2
- spark Manager Server 3.1 2.3-3.3.1
- release-notes-susemanager Manager Server 3.1 3.1.8-5.38.1
- release-notes-susemanager-proxy Manager Proxy 3.1 3.1.8-0.15.29.1
suse advisories SUSE-SU-2018:2689-1SUSE-RU-2018:2639-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-9159 updated cvss 5.3
spark: Absolute and relative pathnames allow for unintended static file disclosure
-
Red Hat Fuse 7 camel Red Hat JBoss Fuse Integration Service 2 spark-core spark-coreaffected: no fix available
-
Red Hat Fuse Intergration Services 2.0 based on Fuse 6.3 R7fixed: vendor fix RHSA-2018:2405
-
Red Hat JBoss A-MQ 6.3 Red Hat JBoss Fuse 6.3fixed: vendor fix RHSA-2018:2020
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
4.45% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
| GitHub | 3.0 | 5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | com.sparkjava:spark-core | <2.7.2 |
2.7.2 |
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/perwendel/spark/commit/a221a864db28eb736d36041df2fa6eb8839fc5cd
web, patch, third-party-advisory
-
github.com
/perwendel/spark/commit/ce9e11517eca69e58ed4378d1e47a02bd06863cc
web, patch, third-party-advisory
-
github.com
/perwendel/spark/commit/030e9d00125cbd1ad759668f85488aba1019c668
web, patch, third-party-advisory
-
access.redhat.com
/errata/RHSA-2018:2020
vendor-advisory, web, third-party-advisory
-
access.redhat.com
/errata/RHSA-2018:2405
vendor-advisory, web, third-party-advisory
-
sparkjava.com
/news#spark-272-released
web, vendor-advisory
-
github.com
/perwendel/spark/issues/981
web, issue-tracking, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2018-9159
advisory
-
github.com
/advisories/GHSA-76qr-mmh8-cp8f
advisory
-
github.com
/perwendel/spark
package
Sources
- CVE List CVE-2018-9159
- GitHub Advisory GHSA-76qr-mmh8-cp8f
- NVD CVE-2018-9159
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.