openEuler Security Advisory
OESA-2022-1482
python-lxml security update
Details
XML processing library combining libxml2/libxslt with the ElementTree API.
Security Fix(es):
lxml is a library for processing XML and HTML in the Python language. Prior to version 4.6.5, the HTML Cleaner in lxml.html lets certain crafted script content pass through, as well as script content in SVG files embedded using data URIs. Users that employ the HTML cleaner in a security relevant context should upgrade to lxml 4.6.5 to receive a patch. There are no known workarounds available.(CVE-2021-43818)
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| openEuler:20.03-LTS-SP1 | python-lxml | All versions before 4.5.2-4.oe1 (fixed in 4.5.2-4.oe1) |
| openEuler:20.03-LTS-SP2 | python-lxml | All versions before 4.5.2-4.oe1 (fixed in 4.5.2-4.oe1) |
| openEuler:20.03-LTS-SP3 | python-lxml | All versions before 4.5.2-4.oe1 (fixed in 4.5.2-4.oe1) |