{"answers":{"affected":"13 open source packages ship an affected version, including org.apache.spark:spark-network-common_2.12, org.apache.spark:spark-network-common_2.13 and pyspark. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-55039 in the wild and no public exploit code.","fix":"Upgrade org.apache.spark:spark-network-common_2.12 to a fixed version for your release line: 3.4.4 or 3.5.2.","what":"CVE-2025-55039 is a medium-severity vulnerability in Apache Spark, published on 15 Oct 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-55039 and fix it if it is affected.\n\nWhat it is: CVE-2025-55039 is a medium-severity vulnerability in Apache Spark, published on 15 Oct 2025. 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-2025-55039 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.spark:spark-network-common_2.12 (Maven): affected all versions; fixed in 3.4.4\n- org.apache.spark:spark-network-common_2.12 (Maven): affected all versions; fixed in 3.4.4\n- org.apache.spark:spark-network-common_2.12 (Maven): affected from 3.5.0; fixed in 3.5.2\n- org.apache.spark:spark-network-common_2.12 (Maven): affected from 3.5.0; fixed in 3.5.2\n- org.apache.spark:spark-network-common_2.13 (Maven): affected all versions; fixed in 3.4.4\n- org.apache.spark:spark-network-common_2.13 (Maven): affected all versions; fixed in 3.4.4\n- org.apache.spark:spark-network-common_2.13 (Maven): affected from 3.5.0; fixed in 3.5.2\n- org.apache.spark:spark-network-common_2.13 (Maven): affected from 3.5.0; fixed in 3.5.2\n- pyspark (PyPI): affected all versions; fixed in 3.4.4, 3.5.2\n- pyspark (PyPI): affected all versions; fixed in 3.4.4\n- pyspark (PyPI): affected all versions; fixed in 3.4.4\n- pyspark (PyPI): affected from 3.5.0; fixed in 3.5.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-2025-55039/ (Markdown: https://insights.sbomify.com/CVE-2025-55039/index.md)","id":"CVE-2025-55039","markdown":"https://insights.sbomify.com/CVE-2025-55039/index.md","name":"CVE-2025-55039","record":{"aliases":["GHSA-6p6v-m64v-jx8q","PYSEC-2025-184"],"analysis":{"component_type":"server_software","fix_type":"configuration_change","impacts":["data_modify","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Apache Spark","requires_auth":"none","summary":"Man-in-the-middle attackers can modify encrypted RPC traffic in Apache Spark when using the default unauthenticated AES-CTR cipher, compromising workflow integrity.","user_interaction":"not_required","vuln_class":"weak_cryptography"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"spark","vendor":"apache"}],"cvss":{"score":6.5,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"},{"id":"CWE-326","name":"Inadequate Encryption Strength"}],"description":"This issue affects Apache Spark versions before  3.4.4, 3.5.2 and 4.0.0.\n\nApache Spark versions before 4.0.0, 3.5.2 and 3.4.4 use an insecure default network encryption cipher for RPC communication between nodes.\n\nWhen spark.network.crypto.enabled is set to true (it is set to false by default), but spark.network.crypto.cipher is not explicitly configured, Spark defaults to AES in CTR mode (AES/CTR/NoPadding), which provides encryption without authentication.\n\nThis vulnerability allows a man-in-the-middle attacker to modify encrypted RPC traffic undetected by flipping bits in ciphertext, potentially compromising heartbeat messages or application data and affecting the integrity of Spark workflows.\n\nTo mitigate this issue, users should either configure spark.network.crypto.cipher to AES/GCM/NoPadding to enable authenticated encryption or\n\nenable SSL encryption by setting spark.ssl.enabled to true, which provides stronger transport security.","ecosystems":["Maven","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":"Apache Spark has Inadequate Encryption Strength","id":"CVE-2025-55039","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"weak_cryptography","year":"2025"},"n_packages":13,"n_references":1,"next":{"headline":"Cross-site request forgery in n/a","id":"CVE-2025-55040"},"packages":[{"ecosystem":"Maven","fixed":["3.4.4"],"introduced":["0"],"last_affected":[],"package":"org.apache.spark:spark-network-common_2.12","purl":null,"source":"GHSA-6p6v-m64v-jx8q"},{"ecosystem":"Maven","fixed":["3.4.4"],"introduced":["0"],"last_affected":[],"package":"org.apache.spark:spark-network-common_2.12","purl":"pkg:maven/org.apache.spark/spark-network-common_2.12","source":"GHSA-6p6v-m64v-jx8q"},{"ecosystem":"Maven","fixed":["3.5.2"],"introduced":["3.5.0"],"last_affected":[],"package":"org.apache.spark:spark-network-common_2.12","purl":null,"source":"GHSA-6p6v-m64v-jx8q"},{"ecosystem":"Maven","fixed":["3.5.2"],"introduced":["3.5.0"],"last_affected":[],"package":"org.apache.spark:spark-network-common_2.12","purl":"pkg:maven/org.apache.spark/spark-network-common_2.12","source":"GHSA-6p6v-m64v-jx8q"},{"ecosystem":"Maven","fixed":["3.4.4"],"introduced":["0"],"last_affected":[],"package":"org.apache.spark:spark-network-common_2.13","purl":null,"source":"GHSA-6p6v-m64v-jx8q"},{"ecosystem":"Maven","fixed":["3.4.4"],"introduced":["0"],"last_affected":[],"package":"org.apache.spark:spark-network-common_2.13","purl":"pkg:maven/org.apache.spark/spark-network-common_2.13","source":"GHSA-6p6v-m64v-jx8q"},{"ecosystem":"Maven","fixed":["3.5.2"],"introduced":["3.5.0"],"last_affected":[],"package":"org.apache.spark:spark-network-common_2.13","purl":null,"source":"GHSA-6p6v-m64v-jx8q"},{"ecosystem":"Maven","fixed":["3.5.2"],"introduced":["3.5.0"],"last_affected":[],"package":"org.apache.spark:spark-network-common_2.13","purl":"pkg:maven/org.apache.spark/spark-network-common_2.13","source":"GHSA-6p6v-m64v-jx8q"},{"ecosystem":"PyPI","fixed":["3.4.4","3.5.2"],"introduced":["0","3.5.0"],"last_affected":[],"package":"pyspark","purl":"pkg:pypi/pyspark","source":"PYSEC-2025-184"},{"ecosystem":"PyPI","fixed":["3.4.4"],"introduced":["0"],"last_affected":[],"package":"pyspark","purl":null,"source":"GHSA-6p6v-m64v-jx8q"},{"ecosystem":"PyPI","fixed":["3.4.4"],"introduced":["0"],"last_affected":[],"package":"pyspark","purl":"pkg:pypi/pyspark","source":"GHSA-6p6v-m64v-jx8q"},{"ecosystem":"PyPI","fixed":["3.5.2"],"introduced":["3.5.0"],"last_affected":[],"package":"pyspark","purl":null,"source":"GHSA-6p6v-m64v-jx8q"},{"ecosystem":"PyPI","fixed":["3.5.2"],"introduced":["3.5.0"],"last_affected":[],"package":"pyspark","purl":"pkg:pypi/pyspark","source":"GHSA-6p6v-m64v-jx8q"}],"prev":{"headline":"AutomationDirect CLICK PLUS Missing Authorization","id":"CVE-2025-55038"},"products":["Apache Spark"],"published":"2025-10-15","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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-04","vendors":["Apache Software Foundation"]},"summary":"Man-in-the-middle attackers can modify encrypted RPC traffic in Apache Spark when using the default unauthenticated AES-CTR cipher, compromising workflow integrity.","url":"https://insights.sbomify.com/CVE-2025-55039/"}