# Envoy v1.35.8

2025-12-10 · [元のリリースノート](https://github.com/envoyproxy/envoy/releases/tag/v1.35.8) · [全体のまとめ](https://ratatosk.io/ja/releases/envoy/v1.35.8)

セキュリティ 2

## セキュリティ (2)

### [medium] c-ares の DNS use-after-free の修正

- 影響対象: DNS 解決に c-ares を使用する Envoy デプロイメント
- [CVE-2025-0913](https://www.cve.org/CVERecord?id=CVE-2025-0913), [CVE-2025-62408](https://www.cve.org/CVERecord?id=CVE-2025-62408), [CVE-2025-67514](https://www.cve.org/CVERecord?id=CVE-2025-67514), [GHSA-fg9g-pvc4-776f](https://github.com/envoyproxy/envoy/security/advisories/GHSA-fg9g-pvc4-776f)

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 .

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

- 2026-03-10 · [リリース後にセキュリティアドバイザリGHSA-84xm-r438-86pxが公開](https://github.com/envoyproxy/envoy/security/advisories/GHSA-84xm-r438-86px)
- 影響対象: リリースノートに記載なし
- [CVE-2026-26311](https://www.cve.org/CVERecord?id=CVE-2026-26311), [GHSA-84xm-r438-86px](https://github.com/envoyproxy/envoy/security/advisories/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.

https://github.com/envoyproxy/envoy/security/advisories/GHSA-84xm-r438-86px

セキュリティアドバイザリ:

> HTTP: filter chain execution on reset streams causing UAF crash

https://github.com/envoyproxy/envoy/security/advisories/GHSA-84xm-r438-86px

---

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