Amazon Linux 2022 Security Advisory: ALAS-2022-074
Advisory Release Date: 2022-05-18 00:31 Pacific
Advisory Updated Date: 2022-05-19 18:22 Pacific
There's a flaw in python-lxml's HTML Cleaner component, which is responsible for sanitizing HTML and Javascript. An attacker who is able to submit a crafted payload to a web service using python-lxml's HTML Cleaner may be able to trigger script execution in clients such as web browsers. This can occur because the HTML Cleaner did not remove scripts within SVG images in data URLs such as <img src=>. XSS can result in impacts to the integrity and availability of the web page, as well as a potential impact to data confidentiality in some circumstances. (CVE-2021-43818)
Affected Packages:
python-lxml
Issue Correction:
Run dnf update --releasever=2022.0.20220518 python-lxml to update your system.
aarch64:
python-lxml-debugsource-4.6.5-1.amzn2022.aarch64
python3-lxml-debuginfo-4.6.5-1.amzn2022.aarch64
python3-lxml-4.6.5-1.amzn2022.aarch64
src:
python-lxml-4.6.5-1.amzn2022.src
x86_64:
python3-lxml-debuginfo-4.6.5-1.amzn2022.x86_64
python3-lxml-4.6.5-1.amzn2022.x86_64
python-lxml-debugsource-4.6.5-1.amzn2022.x86_64