actix-web・actix-httpに圧縮データ展開時のサービス停止の脆弱性
概要
actix-httpとactix-webの一部の版には、圧縮されたリクエストボディを展開する際に上限がない脆弱性があります。遠隔の攻撃者が小さく高圧縮のボディを送ると、メモリとCPUを使い尽くされ、サービスが停止するおそれがあります。actix-httpは3.20.1より前、actix-webは4.18.2より前が影響を受けるため、修正版の3.20.1または4.18.2以降へ更新してください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
actix-httpとactix-webの一部の版には、圧縮されたリクエストボディを展開する際に上限がない脆弱性があります。遠隔の攻撃者が小さく高圧縮のボディを送ると、メモリとCPUを使い尽くされ、サービスが停止するおそれがあります。actix-httpは3.20.1より前、actix-webは4.18.2より前が影響を受けるため、修正版の3.20.1または4.18.2以降へ更新してください。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| actixactix-http |
3.20.1 未満→ 3.20.1 |
3.20.1 |
| actixactix-web |
4.18.2 未満→ 4.18.2 |
4.18.2 |
| crates.ioactix-web |
0.0.0-0 以上 4.18.2 未満→ 4.18.2 |
4.18.2 |
| crates.ioactix-http |
0.0.0-0 以上 3.20.1 未満→ 3.20.1 |
3.20.1 |
ディストリビューション別の修正状況
各ディストリビューションが公開している、この CVE の記録です。修正版は配布版ごとに違うので、リンク先で確かめてください。
- Debian DEBIAN-CVE-2026-128242 rust-actix-web, rust-actix-http 修正版あり
- Ubuntu UBUNTU-CVE-2026-128242 rust-actix-http この記録に修正版の記載なし
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
The encoding::Decoder stream can expand compressed input into a large output
buffer before a caller can enforce its body size limit. An attacker who controls
a compressed request or response can cause excessive memory allocation and CPU
use, resulting in denial of service.
This affects applications that decode untrusted gzip, deflate, Brotli, or Zstandard
bodies with the corresponding compression feature enabled.
Upgrade to actix-http 3.20.1 or later and configure Decoder::limit() when using
the decoder directly. Actix Web users must also upgrade to actix-web 4.18.2 or
later so that extractors pass their limits to the decoder.
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
参照URL
- advisory github.com
- advisory rustsec.org
- advisory github.com
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- advisory rustsec.org
- package github.com
- package crates.io
- package crates.io
- patch github.com
- web github.com
- web github.com
- web github.com