{"schemaVersion":4,"id":"CVE-2017-12612","aliases":["GHSA-8rhc-48pp-52gr","PYSEC-2017-147"],"status":"published","duplicateOf":null,"title":null,"description":"In Apache Spark 1.6.0 until 2.1.1, the launcher API performs unsafe deserialization of data received by its socket. This makes applications launched programmatically using the launcher API potentially vulnerable to arbitrary code execution by an attacker with access to any user account on the local machine. It does not affect apps run by spark-submit or spark-shell. The attacker would be able to execute code as the user that ran the Spark application. Users are encouraged to update to version 2.2.0 or later.","dates":{"published":"2017-09-13T16:00:00.000Z","modified":"2024-08-05T18:43:56.253Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.2,"severity":"high","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Pypi","score":7.8,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Maven","score":8.5,"severity":"high","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Maven","score":7.8,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true}]},"epss":{"probability":0.00734,"percentile":0.55765,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00734},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00844,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00734,"percentile":0.55765}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00734,"percentile":0.55765}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-502","name":"Deserialization of Untrusted Data","description":"The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/502.html"}],"affected":[{"vendor":"apache","product":"spark","name":"Spark","label":"spark","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.6.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"1.6.0"}},{"text":"1.6.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"1.6.1"}},{"text":"1.6.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"1.6.2"}},{"text":"1.6.3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"1.6.3"}},{"text":"2.0.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"2.0.0"}},{"text":"2.0.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"2.0.1"}},{"text":"2.0.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"2.0.2"}},{"text":"2.1.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"2.1.0"}},{"text":"2.1.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"2.1.1"}}],"versionsText":"1.6.0 | 1.6.1 | 1.6.2 | 1.6.3 | 2.0.0 | 2.0.1 | 2.0.2 | 2.1.0 | 2.1.1","eol":{"isEol":true,"eolDate":"2016-07-19T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"1.6","label":"1.6","eolFrom":"2016-07-19T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"1.6.3"},"product":{"name":"apache-spark","label":"Apache Spark","category":"server-app"}},"hubHref":"/vendor/apache/spark"},{"vendor":"org.apache.spark","product":"spark-core_2.10","name":"org.apache.spark:spark-core_2.10","label":"spark-core_2.10","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.spark/spark-core_2.10","purlType":"maven","versions":[{"text":"< 2.1.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.1.2","endInclusive":false}}],"versionsText":"< 2.1.2","eol":null,"hubHref":null},{"vendor":"org.apache.spark","product":"spark-core_2.11","name":"org.apache.spark:spark-core_2.11","label":"spark-core_2.11","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.spark/spark-core_2.11","purlType":"maven","versions":[{"text":"< 2.1.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.1.2","endInclusive":false}}],"versionsText":"< 2.1.2","eol":null,"hubHref":null},{"vendor":"PyPI","product":"pyspark","name":"pyspark","label":"pyspark","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/pyspark","purlType":"pypi","versions":[{"text":"< 2.1.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.1.2","endInclusive":false}}],"versionsText":"< 2.1.2","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":true,"count":1},"references":[{"url":"http://www.securityfocus.com/bid/100823","label":"www.securityfocus.com/bid/100823","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Third Party Advisory","Advisory"]},{"url":"https://mail-archives.apache.org/mod_mbox/spark-dev/201709.mbox/%3CCAEccTyy-1yYuhdNgkBUg0sr9NeaZSrBKkBePdTNZbxXZNTAR-g%40mail.gmail.com%3E","label":"mail-archives.apache.org/mod_mbox/…","hostname":"mail-archives.apache.org","tags":["X Refsource MISC","Mailing List","Vendor Advisory","WEB","Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-12612","label":"nvd.nist.gov/vuln/detail/CVE-2017-12612","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/pyspark/PYSEC-2017-147.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/pyspark/PYSEC-2017-147.yaml","hostname":"github.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2017-09-13T16:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T18:43:56.253Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,1,78],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00734,"stale":false,"promoted":null},{"type":"cvss","source":"nvd","date":"2024-08-05T18:43:56.253Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.0","headline":true},{"type":"cvss","source":"nvd","date":"2024-08-05T18:43:56.253Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","version":"2.0"},{"type":"cvss","source":"osv_pypi","date":"2024-08-05T18:43:56.253Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},{"type":"cvss","source":"osv_maven","date":"2024-08-05T18:43:56.253Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.5,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},{"type":"cvss","source":"osv_maven","date":"2024-08-05T18:43:56.253Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.0"}],"epss":{"value":0.00734,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T08:03:29.184Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T08:03:29.748Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T08:03:29.946Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T08:01:00.622Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T08:03:27.537Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T08:03:26.585Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T08:17:48.258Z","stale":false,"partial":false}}