Missing Release of Resource after Effective Lifetime Affecting aiohttp package, versions [3.10.6,3.10.11)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-AIOHTTP-8383922
  • published19 Nov 2024
  • disclosed18 Nov 2024
  • creditUnknown

Introduced: 18 Nov 2024

CVE-2024-52303  (opens in a new tab)
CWE-772  (opens in a new tab)

How to fix?

Upgrade aiohttp to version 3.10.11 or higher.

Overview

Affected versions of this package are vulnerable to Missing Release of Resource after Effective Lifetime by creating a unique cache entry for each MatchInfoError when a request method is not allowed. This can lead to unbounded cache growth, resulting in a memory leak.

CVSS Scores

version 4.0
version 3.1