[USN-4666-2] lxml vulnerability

Leonidas S. Barbosa leo.barbosa at canonical.com
Fri Dec 11 01:18:34 UTC 2020

Ubuntu Security Notice USN-4666-2
December 11, 2020

lxml vulnerability

A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 20.10
- Ubuntu 20.04 LTS
- Ubuntu 18.04 LTS
- Ubuntu 16.04 LTS
- Ubuntu 14.04 ESM
- Ubuntu 12.04 ESM


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

Software Description:
- lxml: pythonic binding for the libxml2 and libxslt librarie


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:

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

Ubuntu 20.10:
  python3-lxml                    4.5.2-1ubuntu0.3

Ubuntu 20.04 LTS:
  python-lxml                     4.5.0-1ubuntu0.2
  python3-lxml                    4.5.0-1ubuntu0.2

Ubuntu 18.04 LTS:
  python-lxml                     4.2.1-1ubuntu0.3
  python3-lxml                    4.2.1-1ubuntu0.3

Ubuntu 16.04 LTS:
  python-lxml                     3.5.0-1ubuntu0.3
  python3-lxml                    3.5.0-1ubuntu0.3

Ubuntu 14.04 ESM:
  python-lxml                     3.3.3-1ubuntu0.2+esm2
  python3-lxml                    3.3.3-1ubuntu0.2+esm2

Ubuntu 12.04 ESM:
  python-lxml                     2.3.2-1ubuntu0.5
  python3-lxml                    2.3.2-1ubuntu0.5

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


Package Information:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-security-announce/attachments/20201210/1ab87c61/attachment.sig>

More information about the ubuntu-security-announce mailing list