github.com/tendermint/tendermint に 境界外書き込み (CVE-2020-5303)
概要
github.com/tendermint/tendermint に 境界外書き込み (CVE-2020-5303) が存在。不正な操作・情報露出のリスクがあります。activeID 経由で攻撃可能。対策: 0.32.10 以上に更新。
原文の説明
取得元が公開している説明をそのまま載せています (多くは英語)。
Description
Denial of Service 1
Tendermint 0.33.2 and earlier does not limit the number of P2P connection requests. For each p2p connection, Tendermint allocates XXX bytes. Even though this memory is garbage collected once the connection is terminated (due to duplicate IP or reaching a maximum number of inbound peers), temporary memory spikes can lead to OOM (Out-Of-Memory) exceptions.
Tendermint 0.33.3 (and 0.32.10) limits the total number of P2P incoming connection requests to to p2p.max_num_inbound_peers + len(p2p.unconditional_peer_ids).
Notes:
- Tendermint does not rate limit P2P connection requests per IP (an attacker can saturate all the inbound slots);
- Tendermint does not rate limit HTTP(S) requests. If you expose any RPC endpoints to the public, please make sure to put in place some protection (https://www.nginx.com/blog/rate-limiting-nginx/). We may implement this in the future (https://github.com/tendermint/tendermint/issues/1696).
Denial of Service 2
Tendermint 0.33.2 and earlier does not reclaim activeID of a peer after it's removed in Mempool reactor. This does not happen all the time. It only happens when a connection fails (for any reason) before the Peer is created and added to all reactors. RemovePeer is therefore called before AddPeer, which leads to always growing memory (activeIDs map). The activeIDs map has a maximum size of 65535 and the node will panic if this map reaches the maximum. An attacker can create a lot o…
出典: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
自動生成の要約
取得元のデータ (CVSS・CWE・影響バージョンなど) から SecPulse が定型文で組み立てた要約です。AI は使っていません。正確な内容は下の原文と参照URLで確認してください。
github.com/tendermint/tendermint という製品で、CVE-2020-5303 という番号がついた弱点 (脆弱性) が見つかりました。
悪い人がインターネット越しに activeID のような特定の入り口を狙うことで、製品の中を不正に操作できてしまいます。
不正な操作・情報露出のリスクがあります。
対策: github.com/tendermint/tendermint を 0.32.10 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「github.com/tendermint/tendermint CVE-2020-5303」を検索してください。
CVE-2020-5303 (github.com/tendermint/tendermint) — CWE-787
攻撃ベクター: ネットワーク経由 (リモート攻撃可) / 認証不要
脆弱箇所: activeID / Mempool / Peer / RemovePeer
修正バージョン: 0.32.10 (即時適用推奨)
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。
github.com/tendermint/tendermint に 境界外書き込み (CWE-787) があります。攻撃者は activeID を経由して脆弱な処理に到達し、認証なしで悪用できます。
github.com/tendermint/tendermint の影響バージョンはベンダーのアドバイザリで確認してください。攻撃箇所: activeID / Mempool / Peer / RemovePeer。
重要度: ?。不正な操作・情報露出のリスクがあります。
0.32.10 に更新してください。
修正版が未提供時は、影響機能の無効化・WAFルール・ネットワークACLでの遮断を検討。
Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。
対応アクション
SOC/SREチームが順番に実行すべき具体的なステップとコマンド例
-
1影響範囲の特定 identify
grep -r 'github.com/tendermint/tendermint' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
github.com/tendermint/tendermintを grep し、稼働しているサービス・バージョンを把握する。 -
2パッチ適用 patch
Upgrade github.com/tendermint/tendermint to 0.32.10ステージング環境で 0.32.10 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3事後検証 verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
影響パッケージ
参照URL
- advisory nvd.nist.gov
- package github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web hackerone.com
- web github.com