{"answers":{"affected":"4 open source packages ship an affected version, including org.apache.spark:spark-core_2.10 and org.apache.spark:spark-core_2.11. It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-11804 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2018-11804 yet. Limit exposure of the affected software until one is available.","what":"CVE-2018-11804 is a high-severity vulnerability in Apache Spark, published on 24 Oct 2018. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-11804 and fix it if it is affected.\n\nWhat it is: CVE-2018-11804 is a high-severity vulnerability in Apache Spark, published on 24 Oct 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2018-11804 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.spark:spark-core_2.10 (Maven): affected from 1.3.0 up to 2.1.3; no fix listed\n- org.apache.spark:spark-core_2.10 (Maven): affected from 1.3.0 up to 2.1.3; no fix listed\n- org.apache.spark:spark-core_2.11 (Maven): affected from 1.3.0 up to 2.1.3; no fix listed\n- org.apache.spark:spark-core_2.11 (Maven): affected from 1.3.0 up to 2.1.3; no fix listed\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-11804/ (Markdown: https://insights.sbomify.com/CVE-2018-11804/index.md)","id":"CVE-2018-11804","markdown":"https://insights.sbomify.com/CVE-2018-11804/index.md","name":"CVE-2018-11804","record":{"aliases":["GHSA-62g2-m955-v383"],"analysis":{"component_type":"developer_tool","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache Spark build script","requires_auth":"none","summary":"A vulnerability in Spark's build script allows external attackers to read files accessible to the developer account running the build.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"spark","vendor":"apache"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[],"description":"Spark's Apache Maven-based build includes a convenience script, 'build/mvn', that downloads and runs a zinc server to speed up compilation. It has been included in release branches since 1.3.x, up to and including master. This server will accept connections from external hosts by default. A specially-crafted request to the zinc server could cause it to reveal information in files readable to the developer account running the build. Note that this issue does not affect end users of Spark, only developers building Spark from source code.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Improper Input Validation in Apache Spark","id":"CVE-2018-11804","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"information_disclosure","year":"2018"},"n_packages":4,"n_references":3,"next":{"headline":"In Apache SpamAssassin before 3.4.3, nefarious CF files can be configured to run system commands without any output or errors.","id":"CVE-2018-11805"},"packages":[{"ecosystem":"Maven","fixed":[],"introduced":["1.3.0"],"last_affected":["2.1.3"],"package":"org.apache.spark:spark-core_2.10","purl":null,"source":"GHSA-62g2-m955-v383"},{"ecosystem":"Maven","fixed":[],"introduced":["1.3.0"],"last_affected":["2.1.3"],"package":"org.apache.spark:spark-core_2.10","purl":"pkg:maven/org.apache.spark/spark-core_2.10","source":"GHSA-62g2-m955-v383"},{"ecosystem":"Maven","fixed":[],"introduced":["1.3.0"],"last_affected":["2.1.3"],"package":"org.apache.spark:spark-core_2.11","purl":null,"source":"GHSA-62g2-m955-v383"},{"ecosystem":"Maven","fixed":[],"introduced":["1.3.0"],"last_affected":["2.1.3"],"package":"org.apache.spark:spark-core_2.11","purl":"pkg:maven/org.apache.spark/spark-core_2.11","source":"GHSA-62g2-m955-v383"}],"prev":{"headline":"Null dereference in Apache Subversion","id":"CVE-2018-11803"},"products":["Apache Spark"],"published":"2018-10-24","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":"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-08-05","vendors":["Apache Software Foundation"]},"summary":"A vulnerability in Spark's build script allows external attackers to read files accessible to the developer account running the build.","url":"https://insights.sbomify.com/CVE-2018-11804/"}