Name | CVE-2021-43818 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-2871-1, DSA-5043-1, ELA-536-1 |
Debian Bugs | 1001885 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
lxml (PTS) | jessie, jessie (lts) | 3.4.0-1+deb8u5 | fixed |
stretch (security), stretch (lts), stretch | 3.7.1-1+deb9u5 | fixed | |
buster (security), buster, buster (lts) | 4.3.2-1+deb10u4 | fixed | |
bullseye (security), bullseye | 4.6.3+dfsg-0.1+deb11u1 | fixed | |
bookworm | 4.9.2-1 | fixed | |
sid, trixie | 5.3.0-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
lxml | source | jessie | 3.4.0-1+deb8u5 | ELA-536-1 | ||
lxml | source | stretch | 3.7.1-1+deb9u5 | DLA-2871-1 | ||
lxml | source | buster | 4.3.2-1+deb10u4 | DSA-5043-1 | ||
lxml | source | bullseye | 4.6.3+dfsg-0.1+deb11u1 | DSA-5043-1 | ||
lxml | source | (unstable) | 4.7.1-1 | 1001885 |
https://github.com/lxml/lxml/security/advisories/GHSA-55x5-fj6c-h6m8
https://github.com/lxml/lxml/commit/12fa9669007180a7bb87d990c375cf91ca5b664a (lxml-4.6.5)
https://github.com/lxml/lxml/commit/f2330237440df7e8f39c3ad1b1aa8852be3b27c0 (lxml-4.6.5)