{"answers":{"affected":"6 open source packages ship an affected version, including pyspark, spark and org.apache.spark:spark-parent_2.11. It affects 2 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-9480 exists.","fix":"Upgrade pyspark to 2.4.6 or later.","what":"CVE-2020-9480 is a critical authentication bypass vulnerability in Oracle Business Intelligence, published on 23 Jun 2020. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-9480 and fix it if it is affected.\n\nWhat it is: CVE-2020-9480 is a critical authentication bypass vulnerability in Oracle Business Intelligence, published on 23 Jun 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-9480 exists.\n\nAffected packages and fixed versions:\n- pyspark (PyPI): affected all versions; fixed in 2.4.6\n- pyspark (PyPI): affected all versions; fixed in 2.4.6\n- pyspark (PyPI): affected all versions; fixed in 2.4.6\n- spark (Bitnami): affected all versions; fixed in 2.4.6\n- org.apache.spark:spark-parent_2.11 (Maven): affected all versions; fixed in 2.4.6\n- org.apache.spark:spark-parent_2.11 (Maven): affected all versions; fixed in 2.4.6\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-2020-9480/ (Markdown: https://insights.sbomify.com/CVE-2020-9480/index.md)","id":"CVE-2020-9480","markdown":"https://insights.sbomify.com/CVE-2020-9480/index.md","name":"CVE-2020-9480","record":{"aliases":["BIT-spark-2020-9480","GHSA-wgx7-jwwm-cgjv","PYSEC-2020-95"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":true,"product_category":"Apache Spark","requires_auth":"none","summary":"Attackers can bypass authentication in Apache Spark standalone mode to execute arbitrary shell commands on the host machine.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"spark","vendor":"apache"},{"product":"business_intelligence","vendor":"oracle"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"}],"description":"In Apache Spark 2.4.5 and earlier, a standalone resource manager's master may be configured to require authentication (spark.authenticate) via a shared secret. When enabled, however, a specially-crafted RPC to the master can succeed in starting an application's resources on the Spark cluster, even without the shared key. This can be leveraged to execute shell commands on the host machine. This does not affect Spark clusters using other resource managers (YARN, Mesos, etc).","ecosystems":["Bitnami","Maven","PyPI"],"exploits":{"exploitdb":0,"first_seen":"2024-07-25","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":1,"refs":[{"date":"2024-07-25T06:55:59Z","kind":"github_poc","ref":"https://github.com/XiaoShaYu617/CVE-2020-9480","stars":0,"title":null},{"date":null,"kind":"nuclei","ref":"http/cves/2020/CVE-2020-9480.yaml","stars":null,"title":"Apache Spark - Authentication Bypass"}],"tier":"weaponised"},"has_fix":true,"headline":"Improper Authentication in Apache Spark","id":"CVE-2020-9480","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"oracle:business_intelligence","products":["oracle:business_intelligence"],"type":"auth_bypass","year":"2020"},"n_packages":6,"n_references":6,"next":{"headline":"Denial of service in ATS","id":"CVE-2020-9481"},"packages":[{"ecosystem":"Bitnami","fixed":["2.4.6"],"introduced":["0"],"last_affected":[],"package":"spark","purl":"pkg:bitnami/spark","source":"BIT-spark-2020-9480"},{"ecosystem":"Maven","fixed":["2.4.6"],"introduced":["0"],"last_affected":[],"package":"org.apache.spark:spark-parent_2.11","purl":null,"source":"GHSA-wgx7-jwwm-cgjv"},{"ecosystem":"Maven","fixed":["2.4.6"],"introduced":["0"],"last_affected":[],"package":"org.apache.spark:spark-parent_2.11","purl":"pkg:maven/org.apache.spark/spark-parent_2.11","source":"GHSA-wgx7-jwwm-cgjv"},{"ecosystem":"PyPI","fixed":["2.4.6"],"introduced":["0"],"last_affected":[],"package":"pyspark","purl":null,"source":"GHSA-wgx7-jwwm-cgjv"},{"ecosystem":"PyPI","fixed":["2.4.6"],"introduced":["0"],"last_affected":[],"package":"pyspark","purl":"pkg:pypi/pyspark","source":"GHSA-wgx7-jwwm-cgjv"},{"ecosystem":"PyPI","fixed":["2.4.6"],"introduced":["0"],"last_affected":[],"package":"pyspark","purl":"pkg:pypi/pyspark","source":"PYSEC-2020-95"}],"prev":{"headline":"unzip directory traversal","id":"CVE-2020-9479"},"products":["Apache Spark"],"published":"2020-06-23","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":"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":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["Apache Software Foundation"]},"summary":"Attackers can bypass authentication in Apache Spark standalone mode to execute arbitrary shell commands on the host machine.","url":"https://insights.sbomify.com/CVE-2020-9480/"}