Summary
Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2022-0391: A flaw was found in Python, specifically within the urllib.parse module. This module helps break Uniform Resource Locator (URL) strings into components. The issue involves how the urlparse method does not sanitize input and allows characters like r and n in the URL path. This flaw allows an attacker to input a crafted URL, leading to injection attacks. CVE-2021-4189: ftplib should not use the host from the PASV response CVE-2021-3737: 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-3733: There's a flaw in urllib's 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-23336: 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-2020-27619: In Python3's Lib/test/multibytecodec_support.py CJK codec tests call eval() on content retrieved via HTTP.
Fixed packages 8
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux · 2 | python | 0:2.7.18-1.amzn2.0.5 |
| Amazon Linux · 2 | python-debug | 0:2.7.18-1.amzn2.0.5 |
| Amazon Linux · 2 | python-debuginfo | 0:2.7.18-1.amzn2.0.5 |
| Amazon Linux · 2 | python-devel | 0:2.7.18-1.amzn2.0.5 |
| Amazon Linux · 2 | python-libs | 0:2.7.18-1.amzn2.0.5 |
| Amazon Linux · 2 | python-test | 0:2.7.18-1.amzn2.0.5 |
| Amazon Linux · 2 | python-tools | 0:2.7.18-1.amzn2.0.5 |
| Amazon Linux · 2 | tkinter | 0:2.7.18-1.amzn2.0.5 |
Vulnerabilities 6
-
High 7.5CVE-2021-3737 EPSS 13%
A flaw was found in python. An improperly handled HTTP response in the HTTP client code of python may allow a remote at…
-
High 7.5
A flaw was found in Python, specifically within the urllib.parse module. This module helps break Uniform Resource Locat…
-
Medium 5.9CVE-2021-23336 EPSS 41%
Web Cache Poisoning
The package python/cpython from 0 and before 3.6.13, from 3.7.0 and before 3.7.10, from 3.8.0 and before 3.8.8, from 3.9.0 and before 3.9.2 are vulnerable to Web Cache Poisoning via urllib.parse.parse_qsl and urllib.parse.parse_qs by using a vector called par…
-
Medium 5.3
A flaw was found in Python, specifically in the FTP (File Transfer Protocol) client library in PASV (passive) mode. The…
-
Unscored —
In Python 3 through 3.9.0, the Lib/test/multibytecodec_support.py CJK codec tests call eval() on content retrieved via …
-
Unscored —
There's a flaw in urllib's AbstractBasicAuthHandler class. An attacker who controls a malicious HTTP server that an HTT…
References
-
web
https://alas.aws.amazon.com/cve/html/CVE-2020-27619.html
-
web
https://alas.aws.amazon.com/cve/html/CVE-2021-23336.html
-
web
https://alas.aws.amazon.com/cve/html/CVE-2021-3733.html
-
web
https://alas.aws.amazon.com/cve/html/CVE-2021-3737.html
-
web
https://alas.aws.amazon.com/cve/html/CVE-2021-4189.html
-
web
https://alas.aws.amazon.com/cve/html/CVE-2022-0391.html