Summary
Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2026-6019: http.cookies.Morsel.js_output() returns an inline <script> snippet and only escapes " for JavaScript string context. It does not neutralize the HTML parser-sensitive sequence </script> inside the generated script element. Mitigation base64-encodes the cookie value to disallow escaping using cookie value. CVE-2026-11972: When using the "tarfile" module with a file opened in "streaming mode" (mode="r|") the tarfile module did not properly handle EOF, making archive parsing take exponentially longer.
Fixed packages 8
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux · 2 | python3 | 0:3.7.16-1.amzn2.0.28 |
| Amazon Linux · 2 | python3-debug | 0:3.7.16-1.amzn2.0.28 |
| Amazon Linux · 2 | python3-debuginfo | 0:3.7.16-1.amzn2.0.28 |
| Amazon Linux · 2 | python3-devel | 0:3.7.16-1.amzn2.0.28 |
| Amazon Linux · 2 | python3-libs | 0:3.7.16-1.amzn2.0.28 |
| Amazon Linux · 2 | python3-test | 0:3.7.16-1.amzn2.0.28 |
| Amazon Linux · 2 | python3-tkinter | 0:3.7.16-1.amzn2.0.28 |
| Amazon Linux · 2 | python3-tools | 0:3.7.16-1.amzn2.0.28 |
Vulnerabilities 2
-
High 8.2
tarfile opened in streaming mode mishandles EOF
When using the "tarfile" module with a file opened in "streaming mode" (mode="r|") the tarfile module did not properly handle EOF, making archive parsing take exponentially longer.
-
Low 2.1
BaseCookie.js_output() does not neutralize embedded characters
http.cookies.Morsel.js_output() returns an inline <script> snippet and only escapes " for JavaScript string context. It does not neutralize the HTML parser-sensitive sequence </script> inside the generated script element. Mitigation base64-encodes the cookie …