Allocation of Resources Without Limits or Throttling Affecting aiohttp package, versions [3.11.0rc2,3.11.10)


Severity

Recommended
0.0
high
0
10

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

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 Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-AIOHTTP-8492046
  • published8 Dec 2024
  • disclosed6 Dec 2024
  • creditUnknown

Introduced: 6 Dec 2024

NewCVE-2024-12254  (opens in a new tab)
CWE-400  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade aiohttp to version 3.11.10 or higher.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling due to the SelectorSocketTransport.writelines() method not draining its buffers, when Protocols are in use. An attacker can cause this behavior which eventually exhausts available memory by continuously writing data without triggering the buffer drain mechanism.

Note: This is only exploitable on macOS and Linux.

CVSS Scores

version 4.0
version 3.1