Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. com.sparkjava/spark-core
  4. ›
  5. CVE-2018-9159

CVE-2018-9159: Path Traversal

March 31, 2018 (updated October 3, 2019)

In Spark, a remote attacker can read unintended static files via various representations of absolute or relative pathnames.

References

  • sparkjava.com/news
  • github.com/perwendel/spark/issues/981
  • nvd.nist.gov/vuln/detail/CVE-2018-9159

Code Behaviors & Features

Detect and mitigate CVE-2018-9159 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.7.2

Fixed versions

  • 2.7.2

Solution

Upgrade to version 2.7.2 or above.

Impact 5.3 MEDIUM

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

maven/com.sparkjava/spark-core/CVE-2018-9159.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:00 +0000.