UBUNTU-CVE-2021-43818

Source
https://ubuntu.com/security/CVE-2021-43818
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-43818.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-43818
Related
Published
2021-12-13T18:15:00Z
Modified
2021-12-13T18:15:00Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:Pro:14.04:LTS / lxml

Package

Name
lxml
Purl
pkg:deb/ubuntu/lxml?arch=src?distro=trusty/esm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.3.3-1ubuntu0.2+esm5

Affected versions

3.*

3.2.0-1
3.3.0~beta2-1
3.3.0~beta4-1
3.3.1-1
3.3.2-1
3.3.2-1build1
3.3.3-1
3.3.3-1ubuntu0.1
3.3.3-1ubuntu0.2
3.3.3-1ubuntu0.2+esm1
3.3.3-1ubuntu0.2+esm2
3.3.3-1ubuntu0.2+esm3

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "3.3.3-1ubuntu0.2+esm5",
            "binary_name": "python-lxml"
        },
        {
            "binary_version": "3.3.3-1ubuntu0.2+esm5",
            "binary_name": "python-lxml-dbg"
        },
        {
            "binary_version": "3.3.3-1ubuntu0.2+esm5",
            "binary_name": "python-lxml-dbgsym"
        },
        {
            "binary_version": "3.3.3-1ubuntu0.2+esm5",
            "binary_name": "python-lxml-doc"
        },
        {
            "binary_version": "3.3.3-1ubuntu0.2+esm5",
            "binary_name": "python3-lxml"
        },
        {
            "binary_version": "3.3.3-1ubuntu0.2+esm5",
            "binary_name": "python3-lxml-dbg"
        },
        {
            "binary_version": "3.3.3-1ubuntu0.2+esm5",
            "binary_name": "python3-lxml-dbgsym"
        }
    ]
}

Ubuntu:Pro:16.04:LTS / lxml

Package

Name
lxml
Purl
pkg:deb/ubuntu/lxml?arch=src?distro=esm-infra/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.5.0-1ubuntu0.4+esm2

Affected versions

3.*

3.4.4-1
3.5.0-1
3.5.0-1build1
3.5.0-1ubuntu0.1
3.5.0-1ubuntu0.2
3.5.0-1ubuntu0.3
3.5.0-1ubuntu0.4

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "3.5.0-1ubuntu0.4+esm2",
            "binary_name": "python-lxml"
        },
        {
            "binary_version": "3.5.0-1ubuntu0.4+esm2",
            "binary_name": "python-lxml-dbg"
        },
        {
            "binary_version": "3.5.0-1ubuntu0.4+esm2",
            "binary_name": "python-lxml-doc"
        },
        {
            "binary_version": "3.5.0-1ubuntu0.4+esm2",
            "binary_name": "python3-lxml"
        },
        {
            "binary_version": "3.5.0-1ubuntu0.4+esm2",
            "binary_name": "python3-lxml-dbg"
        }
    ]
}

Ubuntu:18.04:LTS / lxml

Package

Name
lxml
Purl
pkg:deb/ubuntu/lxml?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.2.1-1ubuntu0.6

Affected versions

4.*

4.0.0-1
4.1.0-1
4.2.0-1
4.2.1-1
4.2.1-1ubuntu0.1
4.2.1-1ubuntu0.2
4.2.1-1ubuntu0.3
4.2.1-1ubuntu0.4

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "4.2.1-1ubuntu0.6",
            "binary_name": "python-lxml"
        },
        {
            "binary_version": "4.2.1-1ubuntu0.6",
            "binary_name": "python-lxml-dbg"
        },
        {
            "binary_version": "4.2.1-1ubuntu0.6",
            "binary_name": "python-lxml-doc"
        },
        {
            "binary_version": "4.2.1-1ubuntu0.6",
            "binary_name": "python3-lxml"
        },
        {
            "binary_version": "4.2.1-1ubuntu0.6",
            "binary_name": "python3-lxml-dbg"
        }
    ]
}

Ubuntu:20.04:LTS / lxml

Package

Name
lxml
Purl
pkg:deb/ubuntu/lxml?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.5.0-1ubuntu0.5

Affected versions

4.*

4.4.1-1
4.4.1-1build1
4.4.2-1
4.5.0-1
4.5.0-1ubuntu0.1
4.5.0-1ubuntu0.2
4.5.0-1ubuntu0.3

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "4.5.0-1ubuntu0.5",
            "binary_name": "python-lxml"
        },
        {
            "binary_version": "4.5.0-1ubuntu0.5",
            "binary_name": "python-lxml-dbg"
        },
        {
            "binary_version": "4.5.0-1ubuntu0.5",
            "binary_name": "python-lxml-doc"
        },
        {
            "binary_version": "4.5.0-1ubuntu0.5",
            "binary_name": "python3-lxml"
        },
        {
            "binary_version": "4.5.0-1ubuntu0.5",
            "binary_name": "python3-lxml-dbg"
        }
    ]
}

Ubuntu:22.04:LTS / lxml

Package

Name
lxml
Purl
pkg:deb/ubuntu/lxml?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.7.1-1

Affected versions

4.*

4.6.3+dfsg-0.1
4.6.4-1
4.6.4-1ubuntu1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "4.7.1-1",
            "binary_name": "python-lxml-doc"
        },
        {
            "binary_version": "4.7.1-1",
            "binary_name": "python3-lxml"
        },
        {
            "binary_version": "4.7.1-1",
            "binary_name": "python3-lxml-dbgsym"
        }
    ]
}