AIOHTTPに正規表現の処理負荷によりイベントループが停止する脆弱性
Summary
AIOHTTPのadd_domain()で、ドメインマスクに*(アスタリスク)を2つ以上含む設定をしたサーバーが、長いHostヘッダーを繰り返し受け取ると、イベントループが停止するおそれがあります。影響を受けるのは3.14.4より前のバージョンで、修正版は3.14.4です。CVSS v4の基本値は8.2で、遠隔から攻撃される可能性があるため、該当する設定を使っている場合は早めに修正版へ更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
AIOHTTPのadd_domain()で、ドメインマスクに*(アスタリスク)を2つ以上含む設定をしたサーバーが、長いHostヘッダーを繰り返し受け取ると、イベントループが停止するおそれがあります。影響を受けるのは3.14.4より前のバージョンで、修正版は3.14.4です。CVSS v4の基本値は8.2で、遠隔から攻撃される可能性があるため、該当する設定を使っている場合は早めに修正版へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| aio-libsaiohttp | — | Not listed |
| pipaiohttp |
< 3.14.4→ 3.14.4 |
3.14.4 |
| PyPIaiohttp |
< 3.14.4→ 3.14.4 |
3.14.4 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-128124 python-aiohttp No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-128124 python-aiohttp No fixed version in this record
Original description The description as published by the source.
AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, Application.add_domain() converts every asterisk wildcard in a domain mask into a greedy regular-expression fragment, so a mask containing two or more wildcards can take polynomial time to reject a long Host header that does not match. A remote attacker can repeatedly send such headers to a server configured with a multi-wildcard domain mask and stall the event loop. This issue is fixed in version 3.14.4.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- web github.com
- web github.com