VDB

SNYK-PYTHON-TWISTED-2326700

SNYK-PYTHON-TWISTED-2326700 PUBLISHED CVSS 7.5 HIGH

Record from snyk · Published March 7, 2022

twisted is fixed in 22.2.0 (PyPI)

## Overview [Twisted](https://pypi.org/project/Twisted/) is an event-based network programming and multi-protocol integration framework. Affected versions of this package are vulnerable to Denial of Service (DoS) by accepting an infinite amount of data for the peer's SSH version identifier. it is possible to be exploited via SSH transport due to a lack of validation for user data. The attack is as simple as `nc -rv localhost 22 < /dev/zero`. ## Details Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users. Unlike other vulnerabilities, DoS attacks usually do not aim at breaching security. Rather, they are focused on making websites and services unavailable to genuine users resulting in downtime. One popular Denial of Service vulnerability is DDoS (a Distributed Denial of Service), an attack that attempts to clog network pipes to the system by generating a large volume of traffic from many machines. When it comes to open source libraries, DoS vulnerabilities allow attackers to trigger such a crash or crippling of the service by using a flaw either in the application code or from the use of open source libraries. Two common types of DoS vulnerabilities: * High CPU/Memory Consumption- An attacker sending crafted requests that could cause the system to take a disproportionate amount of time to process. For example, [commons-fileupload:commons-fileupload](https://security.snyk.io/vuln/SNYK-JAVA-COMMONSFILEUPLOAD-30082). * Crash - An attacker sending crafted requests that could cause the system to crash. For Example, [npm `ws` package](https://snyk.io/vuln/npm:ws:20171108) ## Remediation Upgrade `Twisted` to version 22.2.0 or higher. ## References - [GitHub Commit](https://github.com/twisted/twisted/commit/98387b39e9f0b21462f6abc7a1325dc370fcdeb1) - [PoC](https://twistedmatrix.com/trac/ticket/10284#ticket)

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
twistedPyPI22.2.0

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P

Affected products

VendorProductVersions
22.1.0, 0

Timeline

  • Dec 26, 2021 CVE Updated
  • Mar 7, 2022 CVE Published

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln SNYK-PYTHON-TWISTED-2326700
vulnetix vdb fixes SNYK-PYTHON-TWISTED-2326700

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/SNYK-PYTHON-TWISTED-2326700/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›