{"schemaVersion":3,"id":"CVE-2025-55039","aliases":["GHSA-6p6v-m64v-jx8q","PYSEC-2025-184"],"status":"published","duplicateOf":null,"title":null,"description":"This issue affects Apache Spark versions before  3.4.4, 3.5.2 and 4.0.0.\n\n\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\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.","dates":{"published":"2025-10-15T07:19:25.493Z","modified":"2025-11-04T21:13:00.940Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","exploitability":10,"impact":4.2,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Maven","score":6.3,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:P","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00236,"percentile":0.13542,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.00236},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00222,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00236,"percentile":0.13542}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00236,"percentile":0.13542}]},"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-326","name":"Inadequate Encryption Strength","description":"The product stores or transmits sensitive data using an encryption scheme that is theoretically sound, but is not strong enough for the level of protection required.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/326.html"},{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature","description":"The product does not verify, or incorrectly verifies, the cryptographic signature for data.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/347.html"}],"affected":[{"vendor":"apache software foundation","product":"apache spark","name":"Apache Spark","label":"apache spark","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.5.0, < 3.5.2","noFixRecorded":false,"fixedIn":null},{"text":"< 3.4.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.5.0, < 3.5.2 | < 3.4.4","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_spark"},{"vendor":"apache","product":"spark","name":"Spark","label":"spark","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 3.4.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.5.0, < 3.5.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.4.4 | ≥ 3.5.0, < 3.5.2","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"apache-spark","label":"Apache Spark","category":"server-app"}},"hubHref":"/vendor/apache/spark"},{"vendor":"org.apache.spark","product":"spark-network-common_2.12","name":"org.apache.spark:spark-network-common_2.12","label":"spark-network-common_2.12","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.spark/spark-network-common_2.12","purlType":"maven","versions":[{"text":"< 3.4.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.5.0, < 3.5.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.4.4 | ≥ 3.5.0, < 3.5.2","eol":null,"hubHref":null},{"vendor":"org.apache.spark","product":"spark-network-common_2.13","name":"org.apache.spark:spark-network-common_2.13","label":"spark-network-common_2.13","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.spark/spark-network-common_2.13","purlType":"maven","versions":[{"text":"≥ 3.5.0, < 3.5.2","noFixRecorded":false,"fixedIn":null},{"text":"< 3.4.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.5.0, < 3.5.2 | < 3.4.4","eol":null,"hubHref":null},{"vendor":"PyPI","product":"pyspark","name":"pyspark","label":"pyspark","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/pyspark","purlType":"pypi","versions":[{"text":"< 3.4.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.5.0, < 3.5.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.4.4 | ≥ 3.5.0, < 3.5.2","eol":null,"hubHref":null}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://lists.apache.org/thread/zrgyy9l85nm2c7vk36vr7bkyorg3w4qq","label":"lists.apache.org/thread/zrgyy9l85nm2c7vk36vr7bkyorg3w4qq","hostname":"lists.apache.org","tags":["Vendor Advisory","WEB","Advisory","Mailing List"]},{"url":"http://www.openwall.com/lists/oss-security/2025/10/14/11","label":"www.openwall.com/lists/oss-security/2025/10/14/11","hostname":"www.openwall.com","tags":["WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-55039","label":"nvd.nist.gov/vuln/detail/CVE-2025-55039","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/apache/spark/commit/05ba74e5f8043601b7af530429ceaf828d7bb329","label":"github.com/apache/spark/commit/05ba74e5f8043601b7af530429ceaf828d7bb329","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/spark/commit/405b23b1aef889fad03bf4e3ced6d427dc9a43f4","label":"github.com/apache/spark/commit/405b23b1aef889fad03bf4e3ced6d427dc9a43f4","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/spark/commit/f0563ef64c7f42df21b16ccaeb4cf1324ea720f9","label":"github.com/apache/spark/commit/f0563ef64c7f42df21b16ccaeb4cf1324ea720f9","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/spark","label":"github.com/apache/spark","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/pyspark/PYSEC-2025-184.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/pyspark/PYSEC-2025-184.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://issues.apache.org/jira/browse/SPARK-47172","label":"issues.apache.org/jira/browse/SPARK-47172","hostname":"issues.apache.org","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-6p6v-m64v-jx8q","label":"github.com/advisories/GHSA-6p6v-m64v-jx8q","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2025-10-15T07:19:25.493Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-11-04T21:13:00.940Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":26,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T04:05:24.030Z","stale":false,"partial":false}}