Allocation of Resources Without Limits or Throttling Affecting python3-twisted package, versions <0:22.4.0-124.amzn2023.0.2


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.67% (80th 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 Learn

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

Start learning
  • Snyk IDSNYK-AMZN2023-PYTHON3TWISTED-3345434
  • published7 Mar 2023
  • disclosed3 Mar 2022

Introduced: 3 Mar 2022

CVE-2022-21716  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 python3-twisted to version 0:22.4.0-124.amzn2023.0.2 or higher.
This issue was patched in ALAS2023-2023-056.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python3-twisted package and not the python3-twisted package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

Twisted is an event-based framework for internet applications, supporting Python 3.6+. Prior to 22.2.0, Twisted SSH client and server implement is able to accept an infinite amount of data for the peer's SSH version identifier. This ends up with a buffer using all the available memory. The attach is a simple as nc -rv localhost 22 &lt; /dev/zero. A patch is available in version 22.2.0. There are currently no known workarounds.

CVSS Scores

version 3.1