CVE-2018-9159
Aliases:GHSA-76qr-mmh8-cp8f
Advisory lineage Upstream: 0 Downstream: 2
Downstream
Modified
Published: 31 Mar 2018, 21:00
Last modified:05 Aug 2024, 07:17
Vulnerability Summary
Overall Risk (default)
low
21/100 CVSS Score
5.3 MEDIUM
v3.0 (nvd)
EPSS Score
0.79% LOW
1% probability +0.41%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected
Timeline
31 Mar 2018, 21:00
Published
Vulnerability first disclosed
05 Aug 2024, 07:17
Last Modified
Vulnerability information updated
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.
CVSS Metrics
- v3.0•MEDIUM•Score: 5.3CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- v2.0•MEDIUM•Score: 5AV:N/AC:L/Au:N/C:P/I:N/A:N
EPSS Trends
Current EPSS score: 0.79%• Percentile: 74%
Techniques & Countermeasures
- CWE-22•Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Affected Systems
- com.sparkjava•spark-core
< 2.7.2
- sparkjava•spark
< 2.7.2
References (10)
- https://github.com/perwendel/spark/issues/981
- https://github.com/perwendel/spark/commit/a221a864db28eb736d36041df2fa6eb8839fc5cd
- https://access.redhat.com/errata/RHSA-2018:2020
- https://access.redhat.com/errata/RHSA-2018:2405
- https://github.com/perwendel/spark/commit/ce9e11517eca69e58ed4378d1e47a02bd06863cc
- http://sparkjava.com/news#spark-272-released
- https://github.com/perwendel/spark/commit/030e9d00125cbd1ad759668f85488aba1019c668
- https://nvd.nist.gov/vuln/detail/CVE-2018-9159
- https://github.com/advisories/GHSA-76qr-mmh8-cp8f
- https://github.com/perwendel/spark