{"id":"CVE-2018-9159","aliases":["EUVD-2018-0533","GHSA-76qr-mmh8-cp8f","SUSE-RU-2018:2639-1","SUSE-SU-2018:2689-1"],"status":"published","title":"Moderate severity vulnerability that affects com.sparkjava:spark-core","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.","severity":{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.04445,"percentile":0.91472,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-22"],"published":"2018-03-31T21:00:00Z","modified":"2026-10-20T13:45:07Z","exploits":[{"source":"pocgithub","id":"shoucheng3/perwendel__spark_CVE-2018-9159_2-7-1","title":"shoucheng3/perwendel__spark_CVE-2018-9159_2-7-1","date":"2025-08-20","url":"https://github.com/shoucheng3/perwendel__spark_CVE-2018-9159_2-7-1"},{"source":"pocgithub","id":"shoucheng3/perwendel__spark_CVE-2018-9159_2_7_2_fixed","title":"shoucheng3/perwendel__spark_CVE-2018-9159_2_7_2_fixed","date":"2025-09-06","url":"https://github.com/shoucheng3/perwendel__spark_CVE-2018-9159_2_7_2_fixed"}],"fixes":[{"ecosystem":"Maven","package":"com.sparkjava:spark-core","fixed_in":["2.7.2"],"sources":["ghsa","osv"]},{"ecosystem":"SUSE:Manager Server 3.1","package":"spark","fixed_in":["2.3-3.3.1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"com.sparkjava:spark-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.2"}]}]},{"source":"osv","ecosystem":"Maven","package":"com.sparkjava:spark-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.2"}]}],"versions":["1.0","1.1","1.1.1","2.0.0","2.1","2.2","2.3","2.4","2.5","2.5.1","2.5.2","2.5.3","2.5.4","2.5.5","2.6.0","2.6.0.RC0","2.7.0","2.7.1"]},{"source":"osv","ecosystem":"SUSE:Manager Proxy 3.1","package":"release-notes-susemanager-proxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.8-0.15.29.1"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Manager Server 3.1","package":"release-notes-susemanager","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.8-5.38.1"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Manager Server 3.1","package":"spark","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3-3.3.1"}]}]}],"products":[{"vendor":"sparkjava","product":"spark"}],"references":[{"url":"https://github.com/perwendel/spark/issues/981","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://github.com/perwendel/spark/commit/a221a864db28eb736d36041df2fa6eb8839fc5cd","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2020","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2405","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/perwendel/spark/commit/ce9e11517eca69e58ed4378d1e47a02bd06863cc","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"http://sparkjava.com/news#spark-272-released","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://github.com/perwendel/spark/commit/030e9d00125cbd1ad759668f85488aba1019c668","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-9159","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-76qr-mmh8-cp8f","tags":["advisory"]},{"url":"https://github.com/perwendel/spark","tags":["package"]},{"url":"https://www.suse.com/support/update/announcement//suse-ru-20182639-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1087837","tags":["report"]},{"url":"https://bugzilla.suse.com/1105440","tags":["report"]},{"url":"https://bugzilla.suse.com/1105442","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2018-1000225","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-1000226","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-9159","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2018/suse-su-20182689-1/","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2018-9159","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.","status":"published","published":"2018-03-31T21:00:00Z","modified":"2024-08-05T07:17:51.328Z","updated_at":"2026-11-02T14:35:02.603326Z"}],"euvd":[{"id":"EUVD-2018-0533","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.","status":"published","published":"2018-03-31T21:00:00Z","modified":"2024-08-05T07:17:51Z","updated_at":"2026-11-03T02:40:00.889185Z"}],"ghsa":[{"id":"GHSA-76qr-mmh8-cp8f","title":"Moderate severity vulnerability that affects com.sparkjava:spark-core","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.","status":"published","published":"2018-10-19T16:56:00Z","modified":"2023-01-09T05:02:35Z","cvss":[{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:36:03.768255Z"}],"nvd":[{"id":"CVE-2018-9159","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.","status":"published","published":"2018-03-31T21:29:00.373Z","modified":"2026-06-17T02:06:10.843Z","cvss":[{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:04:24.700429Z"}],"osv":[{"id":"CVE-2018-9159","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.","status":"published","published":"2018-03-31T21:29:00.373Z","modified":"2026-10-20T13:45:07.343014341Z","cvss":[{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:10.051046Z"},{"id":"GHSA-76qr-mmh8-cp8f","title":"Moderate severity vulnerability that affects com.sparkjava:spark-core","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.","status":"published","published":"2018-10-19T16:56:00Z","modified":"2023-11-08T04:00:30.080342Z","cvss":[{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:40.657155Z"},{"id":"SUSE-RU-2018:2639-1","title":"Recommended update for SUSE Manager 3.1 Release Notes","description":"This update for the SUSE Manager 3.0 Release Notes provides the following additions:\n\n- SUSE Manager Server bugs fixed by latest updates\n\n  + bsc#1057635, bsc#1083295, bsc#1087837, bsc#1089362, bsc#1089526,\n    bsc#1089662, bsc#1093458, bsc#1096264, bsc#1096514, bsc#1097250,\n    bsc#1097697, bsc#1098388, bsc#1098394, bsc#1098815, bsc#1098993,\n    bsc#1099583, bsc#1099638, bsc#1099781, bsc#1100131, bsc#1100731,\n    bsc#1101670, bsc#1102009, bsc#1103044, bsc#1103090, bsc#1103218,\n    bsc#1104025, bsc#1104503, bsc#1105440, bsc#1105442\n\n- SUSE Manager Server security issues fixed by latest updates\n\n  + CVE-2018-1000225, CVE-2018-1000226, CVE-2018-9159\n\n- SUSE Manager Proxy bugs fixed by latest updates\n\n  + bsc#1083295, bsc#1094705, bsc#1097697\n","status":"published","published":"2018-09-06T11:50:51Z","modified":"2026-02-04T04:05:45.251109Z","updated_at":"2026-11-02T15:53:41.276824Z"},{"id":"SUSE-SU-2018:2689-1","title":"Security update for spark","description":"This update for spark fixes the following security issue:\n\n- CVE-2018-9159: Fix a security problem in the serving of static files. (bsc#1087837)\n","status":"published","published":"2018-09-11T14:45:48Z","modified":"2026-02-04T02:58:17.422915Z","updated_at":"2026-11-02T15:53:45.378228Z"}]}}
