QID 353942

Date Published: 2022-06-09

QID 353942: Amazon Linux Security Advisory for python : ALAS2-2022-1802

in python3s lib/test/multibytecodec_support.py cjk codec tests call eval() on content retrieved via http. (
( CVE-2020-27619) the package python/cpython is vulnerable to web cache poisoning via urllib.parse.parse_qsl and urllib.parse.parse_qs by using a vector called parameter cloaking.
When the attacker can separate query parameters using a semicolon (;), they can cause a difference in the interpretation of the request between the proxy (running with default configuration) and the server.
This can result in malicious requests being cached as completely safe ones, as the proxy would usually not see the semicolon as a separator, and therefore would not include it in a cache key of an unkeyed parameter. (
( CVE-2021-23336) theres a flaw in urllibs abstractbasicauthhandler class.
An attacker who controls a malicious http server that an http client (such as web browser) connects to, could trigger a regular expression denial of service (redos) during an authentication request with a specially crafted payload that is sent by the server to the client.
The greatest threat that this flaw poses is to application availability. (
( CVE-2021-3733) a flaw was found in python.
An improperly handled http response in the http client code of python may allow a remote attacker, who controls the http server, to make the client script enter an infinite loop, consuming cpu time.
The highest threat from this vulnerability is to system availability. (
( CVE-2021-3737) ftplib should not use the host from the pasv response (cve-2021-4189) a flaw was found in python, specifically within the urllib.parse module

Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as Critical - 9.8 severity.
  • CVSS V2 rated as High - 7.5 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2-2022-1802 for affected packages and patching details, or update with your package manager.
    Vendor References
    Software Advisories
    Advisory ID Software Component Link
    ALAS2-2022-1802 Amazon Linux 2 URL Logo alas.aws.amazon.com/AL2/ALAS-2022-1802.html