Apache Storm Nimbusに任意のクラスを実行される脆弱性 3.1.0で修正
概要
認証済みのユーザーが、Apache Storm Nimbusに任意のクラスを読み込ませて実行させられる脆弱性です。3.0.0以上3.1.0未満が影響を受け、修正版の3.1.0で対応できます。すぐに更新できない場合は、scheduler strategyの許可リストを明示的に設定してください。3.1.0への更新では、許可リストに載っていない独自のスケジューラー戦略を使うトポロジーが拒否されるため、事前に確認してください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
認証済みのユーザーが、Apache Storm Nimbusに任意のクラスを読み込ませて実行させられる脆弱性です。3.0.0以上3.1.0未満が影響を受け、修正版の3.1.0で対応できます。すぐに更新できない場合は、scheduler strategyの許可リストを明示的に設定してください。3.1.0への更新では、許可リストに載っていない独自のスケジューラー戦略を使うトポロジーが拒否されるため、事前に確認してください。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| Apache Software FoundationApache Storm Nimbus |
3.0.0 以上 3.1.0 未満→ 3.1.0 |
3.1.0 |
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
Description
Nimbus instantiates the class named by a topology's topology.scheduler.strategy when scheduling it. The
allowlist intended to constrain that choice, nimbus.scheduler.strategy.class.whitelist, was treated as
"allow any class" when unset, and it had no entry in the shipped defaults.yaml, so unset was the shipped
state. An authenticated submitter could therefore cause Nimbus to instantiate any class on the Nimbus
classpath that has a no-argument constructor.
Storm's own production artifacts contain classes with side effects suitable for this: instantiating
org.apache.storm.testing.InProcessZookeeper starts a ZooKeeper server with its own threads and sockets
and nothing closes it, and org.apache.storm.LocalCluster behaves similarly. Repeated submissions
therefore consume threads, sockets and memory in the most privileged daemon in the cluster.
Mitigation
Upgrade to 3.1.0, where an unset allowlist means the strategies shipped with Storm rather than any class.
Note that this is a behaviour change: a cluster running an out-of-tree scheduler strategy without an
explicit allowlist will have those topologies refused until the class is added to
nimbus.scheduler.strategy.class.whitelist. The rejection message names the refused class and the
configuration key.
Users who cannot upgrade immediately should set nimbus.scheduler.strategy.class.whitelist explicitly to
the strategies they intend to permit.
出典: oss-security (Openwall) NVD GitHub Advisory