PT-2024-8691 · Aiohttp · Aiohttp
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
aiohttp versions 3.10.6 through 3.10.10
Description
A memory leak can occur when a request produces a
MatchInfoError. This issue is caused by adding an entry to a cache on each request, due to the building of each MatchInfoError producing a unique cache entry. An attacker may be able to exhaust the memory resources of a server by sending a substantial number (100,000s to millions) of such requests.Recommendations
For aiohttp versions 3.10.6 through 3.10.10, upgrade to version 3.10.11 to receive a patch.
As a temporary workaround, consider restricting the number of requests that can produce a
MatchInfoError to minimize the risk of exploitation.Exploit
Fix
Missing Release of Resource after Effective Lifetime
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Aiohttp