ALAS2023-2023-056


Amazon Linux 2023 Security Advisory: ALAS-2023-056
Advisory Release Date: 2023-02-17 20:45 Pacific
Advisory Updated Date: 2023-02-22 23:35 Pacific
Severity: Important

Issue Overview:

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. (CVE-2022-21712)

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-21716)

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-24801)


Affected Packages:

python-twisted


Issue Correction:
Run dnf update python-twisted --releasever=2023.0.20230222 to update your system.

New Packages:
noarch:
    python3-twisted+tls-22.4.0-124.amzn2023.0.2.noarch
    python3-twisted-22.4.0-124.amzn2023.0.2.noarch

src:
    python-twisted-22.4.0-124.amzn2023.0.2.src