VDB
Sign up
MEDIUM5.3

PYSEC-2023-224

Quick fix

PYSEC-2023-224 — twisted: upgrade to the fixed version with the command below.

pip install --upgrade 'twisted>=23.10.0rc1'

Details

Twisted is an event-based framework for internet applications. Prior to version 23.10.0rc1, when sending multiple HTTP requests in one TCP packet, twisted.web will process the requests asynchronously without guaranteeing the response order. If one of the endpoints is controlled by an attacker, the attacker can delay the response on purpose to manipulate the response of the second request when a victim launched two requests using HTTP pipeline. Version 23.10.0rc1 contains a patch for this issue.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/twisted
Introduced in: 0Fixed in: 23.10.0rc1
Fixpip install --upgrade 'twisted>=23.10.0rc1'

References