io.netty:netty-codec-haproxy の脆弱性 (CVE-2022-41881)
概要
io.netty:netty-codec-haproxy に 脆弱性 (CVE-2022-41881) が存在。不正な操作・情報露出のリスクがあります。対策: 4.1.86.Final 以上に更新。
原文の説明
取得元が公開している説明をそのまま載せています (多くは英語)。
Impact
A StackOverflowError can be raised when parsing a malformed crafted message due to an infinite recursion.
Patches
Users should upgrade to 4.1.86.Final.
Workarounds
There is no workaround, except using a custom HaProxyMessageDecoder.
References
When parsing a TLV with type = PP2_TYPE_SSL, the value can be again a TLV with type = PP2_TYPE_SSL and so on.
The only limitation of the recursion is that the TLV length cannot be bigger than 0xffff because it is encoded in an unsigned short type.
Providing a TLV with a nesting level that is large enough will lead to raising of a StackOverflowError.
The StackOverflowError will be caught if HAProxyMessageDecoder is used as part of Netty’s ChannelPipeline, but using it directly without the ChannelPipeline will lead to a thrown exception / crash.
For more information
If you have any questions or comments about this advisory:
- Open an issue in netty
出典: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
自動生成の要約
取得元のデータ (CVSS・CWE・影響バージョンなど) から SecPulse が定型文で組み立てた要約です。AI は使っていません。正確な内容は下の原文と参照URLで確認してください。
io.netty:netty-codec-haproxy という製品で、CVE-2022-41881 という番号がついた弱点 (脆弱性) が見つかりました。
不正な操作・情報露出のリスクがあります。
対策: io.netty:netty-codec-haproxy を 4.1.86.Final 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「io.netty:netty-codec-haproxy CVE-2022-41881」を検索してください。
CVE-2022-41881 (io.netty:netty-codec-haproxy) — CWE-674
攻撃ベクター: ネットワーク経由 (リモート攻撃可) / 認証不要 / 被害者操作不要
修正バージョン: 4.1.86.Final (即時適用推奨)
暫定回避: There is no workaround, except using a custom HaProxyMessageDecoder.
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。
io.netty:netty-codec-haproxy に 脆弱性 (CWE-674) があります。
io.netty:netty-codec-haproxy の影響バージョンはベンダーのアドバイザリで確認してください。
重要度: ?。不正な操作・情報露出のリスクがあります。
4.1.86.Final に更新してください。
暫定回避: There is no workaround, except using a custom HaProxyMessageDecoder.
Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。
対応アクション
SOC/SREチームが順番に実行すべき具体的なステップとコマンド例
-
1影響範囲の特定 identify
Audit SBOM/dependencies for affected components.資産台帳・SBOM・依存マニフェストで io.netty:netty-codec-haproxy を使っているサービスとバージョンを洗い出す。
-
2暫定回避策の適用 mitigate
There is no workaround, except using a custom HaProxyMessageDecoder.パッチが適用されるまでの応急処置として、There is no workaround, except using a custom HaProxyMessageDecoder. を実施。回避策の副作用 (機能低下) を確認した上で。
-
3パッチ適用 patch
Upgrade io.netty:netty-codec-haproxy to 4.1.86.Finalステージング環境で 4.1.86.Final に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4事後検証 verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
影響パッケージ
ディストリビューション別の修正状況
各ディストリビューションが公開している、この CVE の修正パッケージ
- Debian DEBIAN-CVE-2022-41881 netty 修正版: 1:4.1.48-4+deb11u1
- Ubuntu UBUNTU-CVE-2022-41881 netty
参照URL
- advisory nvd.nist.gov
- package github.com
- web github.com
- web lists.debian.org
- web security.netapp.com
- web debian.org