Apache Storm Clientの状態の復元処理に脆弱性、細工されたデータでコードを実行されるおそれ
Summary
Apache Storm Clientの3.0.0以上3.1.0未満では、状態を保存するデータの復元処理に脆弱性があり、Redisに書き込める者が細工したデータでワーカーのJVM上でコードを実行されるおそれがあります。修正版の3.1.0に更新してください。Redisを使う状態管理は標準の設定ではないため、影響を受けるかは構成を確認してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Apache Storm Clientの3.0.0以上3.1.0未満では、状態を保存するデータの復元処理に脆弱性があり、Redisに書き込める者が細工したデータでワーカーのJVM上でコードを実行されるおそれがあります。修正版の3.1.0に更新してください。Redisを使う状態管理は標準の設定ではないため、影響を受けるかは構成を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Apache Software FoundationApache Storm Client |
≥ 3.0.0, < 3.1.0→ 3.1.0 |
3.1.0 |
Original description The description as published by the source.
Description
DefaultStateSerializer, used to persist and restore stateful bolt checkpoints, configured Kryo with class
registration disabled and an instantiation strategy that constructs objects without invoking their
constructors, then deserialized whatever bytes the state store returned. A party able to write to the
topology's keyspace in the state store, for example a co-tenant of a shared Redis instance or anyone with
network access to it, could therefore place a serialized object graph that executes code inside the worker
JVM when the state is restored.
This requires the Redis-backed state provider, which is not the default. Write access to a state-store key
is a data-plane privilege; code execution in the worker JVM is not, so the two are not equivalent.
Mitigation
Upgrade to 3.1.0, where the state serializer requires registered classes.
Note that this is a behaviour change for existing state: checkpoints written by an affected version may fail
to restore, and a migration step may be required. Users who cannot upgrade immediately should restrict
network and credential access to the state store to the cluster itself.
Credit
The ASF -- found using Claude agents to study the security of open-source projects, validated and reported by Apache Storm.
Source: oss-security (Openwall) NVD GitHub Advisory