CVE-2021-43818
Lxml vulnerability
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.
Affected products
Lxml, Fedora, Debian Linux, Solidfire, Solidfire Enterprise Sds, Hci Storage Node Firmware, Communications Cloud Native Core Binding Support Function, Communications Cloud Native Core Network Exposure Function, Communications Cloud Native Core Policy, Http Server and more. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Lxml runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/lxml/lxml/commit/12fa9669007180a7bb87d990c375cf91ca5b664a · Patch
- github.com/lxml/lxml/commit/a3eacbc0dcf1de1c822ec29fb7d090a4b1712a9c#diff-59130575b4fb2932 · Patch
- github.com/lxml/lxml/commit/f2330237440df7e8f39c3ad1b1aa8852be3b27c0 · Patch
- www.oracle.com/security-alerts/cpuapr2022.html · Patch
- www.oracle.com/security-alerts/cpujul2022.html · Patch
- github.com/lxml/lxml/security/advisories/GHSA-55x5-fj6c-h6m8 · Third Party Advisory
- lists.debian.org/debian-lts-announce/2021/12/msg00037.html · Third Party Advisory
- security.gentoo.org/glsa/202208-06 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-43818
- cve.org/CVERecord?id=CVE-2021-43818
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.