USN-4666-2: lxml vulnerability

Publication date

11 December 2020

Overview

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


Packages

  • lxml - pythonic binding for the libxml2 and libxslt librarie

Details

USN-4666-1 partially fixed a vulnerability in lxml, but an additional patch was needed. This update provides
the corresponding additional patch in order to properly fix the vulnerability.

Original advisory details:

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

USN-4666-1 partially fixed a vulnerability in lxml, but an additional patch was needed. This update provides
the corresponding additional patch in order to properly fix the vulnerability.

Original advisory details:

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.3
20.04 focal python-lxml –  4.5.0-1ubuntu0.2
python3-lxml –  4.5.0-1ubuntu0.2
18.04 bionic python-lxml –  4.2.1-1ubuntu0.3
python3-lxml –  4.2.1-1ubuntu0.3
16.04 xenial python-lxml –  3.5.0-1ubuntu0.3
python3-lxml –  3.5.0-1ubuntu0.3
14.04 trusty python-lxml –  3.3.3-1ubuntu0.2+esm2  
python3-lxml –  3.3.3-1ubuntu0.2+esm2  
12.04 precise python-lxml –  2.3.2-1ubuntu0.5
python3-lxml –  2.3.2-1ubuntu0.5

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 ›