Summary
Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2024-7592: There is a LOW severity vulnerability affecting CPython, specifically the 'http.cookies' standard library module. When parsing cookies that contained backslashes for quoted characters in the cookie value, the parser would use an algorithm with quadratic complexity, resulting in excess CPU resources being used while parsing the value. CVE-2024-6923: There is a MEDIUM severity vulnerability affecting CPython. The email module didn't properly quote newlines for email headers when serializing an email message allowing for header injection when an email is serialized. CVE-2024-11168: The urllib.parse.urlsplit() and urlparse() functions improperly validated bracketed hosts (`[]`), allowing hosts that weren't IPv6 or IPvFuture. This behavior was not conformant to RFC 3986 and potentially enabled SSRF if a URL is processed by more than one URL parser.
Fixed packages 8
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux · 2 | python3 | 0:3.7.16-1.amzn2.0.12 |
| Amazon Linux · 2 | python3-debug | 0:3.7.16-1.amzn2.0.12 |
| Amazon Linux · 2 | python3-debuginfo | 0:3.7.16-1.amzn2.0.12 |
| Amazon Linux · 2 | python3-devel | 0:3.7.16-1.amzn2.0.12 |
| Amazon Linux · 2 | python3-libs | 0:3.7.16-1.amzn2.0.12 |
| Amazon Linux · 2 | python3-test | 0:3.7.16-1.amzn2.0.12 |
| Amazon Linux · 2 | python3-tkinter | 0:3.7.16-1.amzn2.0.12 |
| Amazon Linux · 2 | python3-tools | 0:3.7.16-1.amzn2.0.12 |
Vulnerabilities 3
-
High 7.5
Quadratic complexity parsing cookies with backslashes
There is a LOW severity vulnerability affecting CPython, specifically the 'http.cookies' standard library module. When parsing cookies that contained backslashes for quoted characters in the cookie value, the parser would use an algorithm with quadratic compl…
-
Medium 6.3
Improper validation of IPv6 and IPvFuture addresses
The urllib.parse.urlsplit() and urlparse() functions improperly validated bracketed hosts (`[]`), allowing hosts that weren't IPv6 or IPvFuture. This behavior was not conformant to RFC 3986 and potentially enabled SSRF if a URL is processed by more than one U…
-
Medium 5.5
Email header injection due to unquoted newlines
There is a MEDIUM severity vulnerability affecting CPython. The email module didn’t properly quote newlines for email headers when serializing an email message allowing for header injection when an email is serialized.