aiohttp denial of service in wildcard domain matching
aio-libs aiohttp
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| aiohttp PyPI |
|
|
Original description
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.
From the CVE record · GitHub_M