ALAS2022-2022-178

Related Vulnerabilities: CVE-2021-43818  

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)

ALAS2022-2022-178


Amazon Linux 2022 Security Advisory: ALAS-2022-178
Advisory Release Date: 2022-11-01 21:24 Pacific
Advisory Updated Date: 2022-11-03 21:00 Pacific
Severity: Medium
References: CVE-2021-43818 

Issue Overview:

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 python-lxml --releasever=2022.0.20221102 to update your system.

New Packages:
aarch64:
    python-lxml-debugsource-4.6.5-1.amzn2022.0.1.aarch64
    python3-lxml-debuginfo-4.6.5-1.amzn2022.0.1.aarch64
    python3-lxml-4.6.5-1.amzn2022.0.1.aarch64

i686:
    python-lxml-debugsource-4.6.5-1.amzn2022.0.1.i686
    python3-lxml-debuginfo-4.6.5-1.amzn2022.0.1.i686
    python3-lxml-4.6.5-1.amzn2022.0.1.i686

src:
    python-lxml-4.6.5-1.amzn2022.0.1.src

x86_64:
    python-lxml-debugsource-4.6.5-1.amzn2022.0.1.x86_64
    python3-lxml-debuginfo-4.6.5-1.amzn2022.0.1.x86_64
    python3-lxml-4.6.5-1.amzn2022.0.1.x86_64