Advisory

UBUNTU-CVE-2021-43818

Also known as: CVE-2021-43818

Summary

The record has no summary.

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.

Severity

High Basis: CVSS v3 score 7.1, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L

Dates

Published
2021-12-13 18:15 UTC
Modified
2026-02-05 06:38 UTC

Affected packages and fixes

lxml

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 4.2.1-1ubuntu0.6 (ecosystem)

Fixed versions

4.2.1-1ubuntu0.6

Fix

  • Fixed version 4.2.1-1ubuntu0.6
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

lxml

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 4.5.0-1ubuntu0.5 (ecosystem)

Fixed versions

4.5.0-1ubuntu0.5

Fix

  • Fixed version 4.5.0-1ubuntu0.5
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

lxml

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 4.7.1-1 (ecosystem)

Fixed versions

4.7.1-1

Fix

  • Fixed version 4.7.1-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences