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 byVersionScoreVector
NVD3.05.3CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
NVD2.05.0AV:N/AC:L/Au:N/C:P/I:N/A:N
GitHub3.05.3CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Affected packages

EcosystemPackageAffectedFixed in
mavencom.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

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.