Summary
Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2021-28957: An XSS vulnerability was discovered in python-lxml's clean module versions before 4.6.3. When disabling the safe_attrs_only and forms arguments, the Cleaner class does not remove the formaction attribute allowing for JS to bypass the sanitizer. A remote attacker could exploit this flaw to run arbitrary JS code on users who interact with incorrectly sanitized HTML. This issue is patched in lxml 4.6.3.
Fixed packages 4
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux · 2 | python-lxml | 0:3.2.1-4.amzn2.0.6 |
| Amazon Linux · 2 | python-lxml-debuginfo | 0:3.2.1-4.amzn2.0.6 |
| Amazon Linux · 2 | python-lxml-docs | 0:3.2.1-4.amzn2.0.6 |
| Amazon Linux · 2 | python3-lxml | 0:3.2.1-4.amzn2.0.6 |
Vulnerabilities 1
-
Medium 6.1
lxml vulnerable to Cross-Site Scripting
An XSS vulnerability was discovered in python-lxml's clean module versions before 4.6.3. When disabling the safe_attrs_only and forms arguments, the Cleaner class does not remove the formaction attribute allowing for JS to bypass the sanitizer. A remote attac…
References
-
web
https://alas.aws.amazon.com/cve/html/CVE-2021-28957.html