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.
Fixed packages 8
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux · 2 | python | 0:2.7.18-1.amzn2.0.20 |
| Amazon Linux · 2 | python-debug | 0:2.7.18-1.amzn2.0.20 |
| Amazon Linux · 2 | python-debuginfo | 0:2.7.18-1.amzn2.0.20 |
| Amazon Linux · 2 | python-devel | 0:2.7.18-1.amzn2.0.20 |
| Amazon Linux · 2 | python-libs | 0:2.7.18-1.amzn2.0.20 |
| Amazon Linux · 2 | python-test | 0:2.7.18-1.amzn2.0.20 |
| Amazon Linux · 2 | python-tools | 0:2.7.18-1.amzn2.0.20 |
| Amazon Linux · 2 | tkinter | 0:2.7.18-1.amzn2.0.20 |
Vulnerabilities 1
-
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 …
References
-
web
https://alas.aws.amazon.com/cve/html/CVE-2026-6019.html