Vulnerability in github.com/cometbft/cometbft (GHSA-p7mv-53f2-4cwj)
Summary
vulnerability in github.com/cometbft/cometbft (GHSA-p7mv-53f2-4cwj). Risk of unauthorized operations or information disclosure. Exploitable via ``main``. Mitigation: upgrade to `0.38.15` or later.
AI summary snake-internal / snake-material-v2
Response Actions (7 steps)
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
grep -r 'github.com/cometbft/cometbft' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で `github.com/cometbft/cometbft` を grep し、稼働しているサービス・バージョンを把握する。
-
5Apply temporary workaround mitigate
When the consensus code panics after receiving an invalid `Vote` message, the operator can identify the peer from which that message was received.パッチが適用されるまでの応急処置として、When the consensus code panics after receiving an invalid `Vote` message, the operator can identify the peer from which that message was received. を実施。回避策の副作用 (機能低下) を確認した上で。
-
6Apply patch patch
Upgrade github.com/cometbft/cometbft to 0.38.15ステージング環境で 0.38.15 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 3 で見つけた異常検知の続報チェックを含めること。
-
7Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 3 と同じログクエリでアラート再発が無いか継続監視。
Affected packages
References
- package https://github.com/cometbft/cometbft
- web https://github.com/cometbft/cometbft/security/advisories/GHSA-p7mv-53f2-4cwj
- web https://docs.cometbft.com/v0.38/spec/abci/abci++_basic_concepts
- web https://github.com/cometbft/cometbft/releases/tag/v0.38.15
- web https://pkg.go.dev/vuln/GO-2024-3259
- web https://github.com/cometbft/cometbft/commit/17d3bb66664cab6d6798c17e27198e15bbac1905
- web https://github.com/advisories/GHSA-p7mv-53f2-4cwj