RATATOSK
← リリース一覧

Envoyv1.35.8

セキュリティ 2

Envoyの通知を受け取る

週次メールは確認すべき変更がある週だけ、深刻度がcriticalのセキュリティアドバイザリは即時に届きます。

セキュリティ2medium2

c-ares の DNS use-after-free の修正

medium
影響対象DNS 解決に c-ares を使用する Envoy デプロイメント

FQDN ではない ares_getaddrinfo クエリで、NXDOMAIN の後に検索ドメインを使った再試行が失敗し、再送したクエリが成功すると、Envoy がクラッシュする可能性がありました。Envoy v1.35.8 では修正済みの c-ares バージョンを使用し、この一連の処理で発生する use-after-free を修正しています。

原文を表示
  - c-ares/CVE-2025-0913:
      Use after free can crash Envoy due to malfunctioning or compromised DNS.
While a potentially severe bug in some cloud environments, this has limited exploitability
as any attacker would require control of DNS.
Envoy advisory is here https://github.com/envoyproxy/envoy/security/advisories/GHSA-fg9g-pvc4-776f
- dns : Update c-ares to version 1.34.6 to resolve CVE-2025-0913.
Use-after-free in c-ares can crash Envoy via compromised or malfunctioning DNS.
advisory: https://github.com/envoyproxy/envoy/security/advisories/GHSA-fg9g-pvc4-776f .
github.com/envoyproxy/envoy/releases/tag/v1.35.8

Envoy の HTTP フィルターにおけるストリームリセット後の use-after-free の修正

medium

2026-03-10 リリース後にセキュリティアドバイザリGHSA-84xm-r438-86pxが公開

影響対象リリースノートに記載なし

ストリームのリセット後に後続の DATA フレームを受信すると、Envoy の HTTP フィルターマネージャーが破棄済みのフィルターに対して decodeData() を呼び出す可能性があり、クラッシュやメモリー破損を引き起こし、リモートコード実行につながるおそれがありました。また、セキュリティ上の拒否後にデータがストリームの終了処理を通過し、後段のフィルターやバックエンドサービスに到達する可能性もありました。未認証のリモートクライアントは、HTTP/2 または HTTP/3 接続を確立するだけでこの問題を引き起こせました。

原文を表示
セキュリティアドバイザリ
The `ActiveStream` object remains valid in memory during the deferred deletion window. If a `DATA` frame arrives on this stream immediately after the reset (e.g., in the same packet processing cycle), the HTTP/2 codec invokes `ActiveStream::decodeData`, which cascades to `FilterManager::decodeData`.
`FilterManager::decodeData` **fails to check the `saw_downstream_reset_` flag**. It iterates over the `decoder_filters_` list and invokes `decodeData()` on filters that have already received `onDestroy()`.
**Who can exploit this:**
Any remote attacker capable of establishing an HTTP/2 or HTTP/3 connection. No privileges/authentication required.
While the immediate symptom is a crash (DoS), the underlying primitive is a **Use-After-Free (CWE-416)**.
* **Exploitation:** By forcing `decodeData()` to execute on these now-freed objects, an attacker triggers undefined behavior. In a heap-groomed environment, an attacker could potentially replace the freed filter object with a malicious payload before the "Zombie" `decodeData` call occurs. This would allow for vtable hijacking or arbitrary write-what-where primitives, leading to **Remote Code Execution (RCE)**.
* **Scenario:** If a stream is reset due to a security violation (e.g., `StreamIdleTimeout`, `OverloadManager` rejection, or WAF triggering), this vulnerability allows the attacker to **bypass the termination**.
* **Result:** The attacker can force the processing of "Data" frames on a connection that the security policy explicitly attempted to close, allowing malicious payloads to reach deeper into the filter chain or backend services despite the rejection.
github.com/envoyproxy/envoy/security/advisories/GHSA-84xm-r438-86px
セキュリティアドバイザリ
HTTP: filter chain execution on reset streams causing UAF crash
github.com/envoyproxy/envoy/security/advisories/GHSA-84xm-r438-86px

整理した内容は AI が作成するため誤っている可能性があり、無保証で提供されます。