github.com/rabbitmq/amqp091-go の脆弱性 (CVE-2026-107386)
概要
github.com/rabbitmq/amqp091-go に 脆弱性 (CVE-2026-107386) が存在。不正な操作・情報露出のリスクがあります。connection.tune 経由で攻撃可能。対策: 1.14.0 以上に更新。
原文の説明
取得元が公開している説明をそのまま載せています (多くは英語)。
Summary
The frame-size mitigation released in amqp091-go v1.13.0 can be bypassed before connection.tune completes. A malicious or compromised AMQP peer can send only a seven-byte body-frame header containing a large attacker-controlled uint32 payload length. The client allocates a slice of that declared length before it verifies that the payload exists or rejects the frame for its invalid protocol state.
The bypass occurs because Connection.maxFrameSize starts at zero. The reader interprets zero as both “negotiated unlimited” and “not negotiated yet,” and skips the pre-allocation size check in either case. Open starts the reader goroutine before negotiation and does not store a limit until after it receives connection.tune.
This remains reachable even if the caller explicitly uses Config{FrameSize: frameMinSize}. A malicious broker can therefore cause excessive memory allocation, potentially terminating the Go client process through memory exhaustion, before authentication and connection setup complete.
Relationship to the existing advisory
GHSA-r9c8-gcjp-xfwh describes attacker-controlled, unbounded allocation by a malicious broker and identifies v1.13.0 as the patched version. Pull request 369 added a frame-size check before parser allocation, but the check is active only when the stored maximum is nonzero.
The v1.13.0…
出典: GitHub Security Advisories (Global) NVD GitHub Advisory
自動生成の要約
取得元のデータ (CVSS・CWE・影響バージョンなど) から SecPulse が定型文で組み立てた要約です。AI は使っていません。正確な内容は下の原文と参照URLで確認してください。
github.com/rabbitmq/amqp091-go という製品で、CVE-2026-107386 という番号がついた弱点 (脆弱性) が見つかりました。
悪い人がインターネット越しに connection.tune のような特定の入り口を狙うことで、製品の中を不正に操作できてしまいます。
不正な操作・情報露出のリスクがあります。
対策: github.com/rabbitmq/amqp091-go を 1.14.0 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「github.com/rabbitmq/amqp091-go CVE-2026-107386」を検索してください。
CVE-2026-107386 (github.com/rabbitmq/amqp091-go) — CWE-770
脆弱箇所: connection.tune / uint32 / Connection.maxFrameSize / Open
修正バージョン: 1.14.0 (即時適用推奨)
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。
github.com/rabbitmq/amqp091-go に 脆弱性 (CWE-770) があります。攻撃者は connection.tune を経由して脆弱な処理に到達できます。
github.com/rabbitmq/amqp091-go の影響バージョンはベンダーのアドバイザリで確認してください。攻撃箇所: connection.tune / uint32 / Connection.maxFrameSize / Open。
重要度: ?。不正な操作・情報露出のリスクがあります。
1.14.0 に更新してください。
修正版が未提供時は、影響機能の無効化・WAFルール・ネットワークACLでの遮断を検討。
Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。
対応アクション
SOC/SREチームが順番に実行すべき具体的なステップとコマンド例
-
1影響範囲の特定 identify
grep -r 'github.com/rabbitmq/amqp091-go' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
github.com/rabbitmq/amqp091-goを grep し、稼働しているサービス・バージョンを把握する。 -
2パッチ適用 patch
Upgrade github.com/rabbitmq/amqp091-go to 1.14.0ステージング環境で 1.14.0 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3事後検証 verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。