5.3med
CVE-2018-9159
Moderate severity vulnerability that affects com.sparkjava:spark-core
Also known as GHSA-76qr-mmh8-cp8f
Published 8 y ago · modified 4 mo ago · JSON
CVSS
5.3
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
4.4%
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.
Exploit prediction (EPSS)
4.45% probability of exploitation in the next 30 days, higher than 91% of all scored CVEs.
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/issues/981 · x_refsource_MISC, x_transferred
- github.com /perwendel/spark/commit/a221a864db28eb736d36041df2fa6eb8839fc5cd · x_refsource_MISC, x_transferred
- access.redhat.com /errata/RHSA-2018:2020 · vendor-advisory, x_refsource_REDHAT, x_transferred
- access.redhat.com /errata/RHSA-2018:2405 · vendor-advisory, x_refsource_REDHAT, x_transferred
- github.com /perwendel/spark/commit/ce9e11517eca69e58ed4378d1e47a02bd06863cc · x_refsource_MISC, x_transferred
- sparkjava.com /news#spark-272-released · x_refsource_MISC, x_transferred
- github.com /perwendel/spark/commit/030e9d00125cbd1ad759668f85488aba1019c668 · x_refsource_MISC, x_transferred
- 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
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.