USN-4666-1: lxml vulnerability

Publication date

9 December 2020

Overview

lxml could allow cross-site scripting (XSS) attacks.


Packages

  • lxml - pythonic binding for the libxml2 and libxslt libraries

Details

It was discovered that lxml incorrectly handled certain HTML.
An attacker could possibly use this issue to cross-site scripting (XSS) attacks.

It was discovered that lxml incorrectly handled certain HTML.
An attacker could possibly use this issue to cross-site scripting (XSS) attacks.

Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
20.10 groovy python3-lxml –  4.5.2-1ubuntu0.1
20.04 focal python-lxml –  4.5.0-1ubuntu0.1
python3-lxml –  4.5.0-1ubuntu0.1
18.04 bionic python-lxml –  4.2.1-1ubuntu0.2
python3-lxml –  4.2.1-1ubuntu0.2
16.04 xenial python-lxml –  3.5.0-1ubuntu0.2
python3-lxml –  3.5.0-1ubuntu0.2
14.04 trusty python-lxml –  3.3.3-1ubuntu0.2+esm1  
python3-lxml –  3.3.3-1ubuntu0.2+esm1  
12.04 precise python-lxml –  2.3.2-1ubuntu0.4
python3-lxml –  2.3.2-1ubuntu0.4

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›