ADVISORIES

Amazon Linux Security Advisory

ALAS2023-2023-056

Amazon Linux 2023 - ALAS2023-2023-056: Important priority package update for python-twisted

Details

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2022-24801: A flaw was found in python-twisted. This vulnerability occurs due to the parsing of illegal constructs in the twisted.web.http module. The illegal constructs include '+/-' in the Content-Length header, '\n and \t' etc. Non-conformant parsing leads to a desync if requests pass through multiple HTTP parsers. This flaw allows a remote attacker to perform an HTTP request smuggling attack.

CVE-2022-21716: An uncontrolled resource consumption flaw was found in python-twisted in the dataReceived() function. This flaw allows an unauthenticated, remote attacker to send a simple command to use all available memory and crash the server.

CVE-2022-21712: A flaw was found in the twisted Python library when WebClient redirects via the RedirectAgent and BrowserLikeRedirectAgent methods. This flaw allows an attacker to take advantage of these cross-origin redirects and leak the cookie and authorization headers.

Affected packages

EcosystemPackageAffected versions
Amazon Linux:2023python3-twisted
All versions before 22.4.0-124.amzn2023.0.2 (fixed in 22.4.0-124.amzn2023.0.2)
Amazon Linux:2023python3-twisted+tls
All versions before 22.4.0-124.amzn2023.0.2 (fixed in 22.4.0-124.amzn2023.0.2)

References