AIOHTTP: Event loop stall in add_domain() wildcard matching
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 3.14.4 and aiohttp 3.14.4.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| aio-libs | <3.14.4 | ||
| aiohttp | aiohttp | <3.14.4 | 3.14.4 |
| pypi: aiohttp | <3.14.4, <=3.14.3 | 3.14.4 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in aiohttp (PyPI), strongest first
Embed
A live severity badge for an advisory, README or ticket