{"answers":{"affected":"5 open source packages ship an affected version, including pyspark. It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-11760 in the wild and no public exploit code.","fix":"Upgrade pyspark to a fixed version for your release line: 2.2.3 or 2.3.2.","what":"CVE-2018-11760 is a medium-severity authentication bypass vulnerability in Apache Spark, published on 4 Feb 2019. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-11760 and fix it if it is affected.\n\nWhat it is: CVE-2018-11760 is a medium-severity authentication bypass vulnerability in Apache Spark, published on 4 Feb 2019. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2018-11760 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- pyspark (PyPI): affected from 1.0.2; fixed in 2.2.3\n- pyspark (PyPI): affected from 1.0.2; fixed in 2.2.3\n- pyspark (PyPI): affected from 2.3.0; fixed in 2.3.2, 2.2.3\n- pyspark (PyPI): affected from 2.3.0; fixed in 2.3.2\n- pyspark (PyPI): affected from 2.3.0; fixed in 2.3.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2018-11760/ (Markdown: https://insights.sbomify.com/CVE-2018-11760/index.md)","id":"CVE-2018-11760","markdown":"https://insights.sbomify.com/CVE-2018-11760/index.md","name":"CVE-2018-11760","record":{"aliases":["GHSA-fvxv-9xxr-h7wj","PYSEC-2019-169"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["privilege_escalation","account_takeover"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"PySpark library","requires_auth":"low_privilege","summary":"Local users can connect to Spark applications and impersonate the running user, leading to privilege escalation and account takeover.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"spark","vendor":"apache"}],"cvss":{"score":5.5,"severity":"medium","source":"nvd","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","version":"3.0"},"cwes":[],"description":"When using PySpark , it's possible for a different local user to connect to the Spark application and impersonate the user running the Spark application. This affects versions 1.x, 2.0.x, 2.1.x, 2.2.0 to 2.2.2, and 2.3.0 to 2.3.1.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Pyspark User Impersonation Vulnerability","id":"CVE-2018-11760","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"auth_bypass","year":"2018"},"n_packages":5,"n_references":3,"next":{"headline":"High severity vulnerability that affects org.apache.tika:tika-core","id":"CVE-2018-11761"},"packages":[{"ecosystem":"PyPI","fixed":["2.2.3"],"introduced":["1.0.2"],"last_affected":[],"package":"pyspark","purl":null,"source":"GHSA-fvxv-9xxr-h7wj"},{"ecosystem":"PyPI","fixed":["2.2.3"],"introduced":["1.0.2"],"last_affected":[],"package":"pyspark","purl":"pkg:pypi/pyspark","source":"GHSA-fvxv-9xxr-h7wj"},{"ecosystem":"PyPI","fixed":["2.3.2","2.2.3"],"introduced":["2.3.0","1.0.2"],"last_affected":[],"package":"pyspark","purl":"pkg:pypi/pyspark","source":"PYSEC-2019-169"},{"ecosystem":"PyPI","fixed":["2.3.2"],"introduced":["2.3.0"],"last_affected":[],"package":"pyspark","purl":null,"source":"GHSA-fvxv-9xxr-h7wj"},{"ecosystem":"PyPI","fixed":["2.3.2"],"introduced":["2.3.0"],"last_affected":[],"package":"pyspark","purl":"pkg:pypi/pyspark","source":"GHSA-fvxv-9xxr-h7wj"}],"prev":{"headline":"Path traversal in Apache Tomcat Connectors","id":"CVE-2018-11759"},"products":["Apache Spark"],"published":"2019-02-04","related":[{"cvss_score":8.8,"headline":"Apache Spark Command Injection","id":"CVE-2022-33891","kev_date_added":"2023-03-07","published":"2022-07-18"},{"cvss_score":9.8,"headline":"Improper Authentication in Apache Spark","id":"CVE-2020-9480","kev_date_added":null,"published":"2020-06-23"},{"cvss_score":9.8,"headline":"Remote Code Execution in spark-core","id":"CVE-2018-17190","kev_date_added":null,"published":"2018-11-19"},{"cvss_score":9.1,"headline":"HTTP Request Smuggling in Netty","id":"CVE-2019-20445","kev_date_added":null,"published":"2020-01-29"},{"cvss_score":8.8,"headline":"Apache Spark: Spark History Server Code Execution Vulnerability","id":"CVE-2025-54920","kev_date_added":null,"published":"2026-03-14"},{"cvss_score":8.8,"headline":"Apache Spark: Shell command injection via Spark UI","id":"CVE-2023-32007","kev_date_added":null,"published":"2023-05-02"},{"cvss_score":7.8,"headline":"Apache Spark Deserialization of Untrusted Data vulnerability","id":"CVE-2017-12612","kev_date_added":null,"published":"2017-09-13"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-16","vendors":["Apache Software Foundation"]},"summary":"Local users can connect to Spark applications and impersonate the running user, leading to privilege escalation and account takeover.","url":"https://insights.sbomify.com/CVE-2018-11760/"}