Debian DLA-2871-1 : lxml - LTS security update

high Nessus Plugin ID 156417

Synopsis

The remote Debian host is missing a security-related update.

Description

The remote Debian 9 host has packages installed that are affected by a vulnerability as referenced in the dla-2871 advisory.

- 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. (CVE-2021-43818)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade the lxml packages.

For Debian 9 stretch, this problem has been fixed in version 3.7.1-1+deb9u5.

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1001885

https://security-tracker.debian.org/tracker/source-package/lxml

https://www.debian.org/lts/security/2021/dla-2871

https://security-tracker.debian.org/tracker/CVE-2021-43818

https://packages.debian.org/source/stretch/lxml

Plugin Details

Severity: High

ID: 156417

File Name: debian_DLA-2871.nasl

Version: 1.2

Type: local

Agent: unix

Published: 12/30/2021

Updated: 12/30/2021

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.0

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2021-43818

CVSS v3

Risk Factor: High

Base Score: 7.1

Temporal Score: 6.2

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:python3-lxml, p-cpe:/a:debian:debian_linux:python3-lxml-dbg, p-cpe:/a:debian:debian_linux:python-lxml-dbg, cpe:/o:debian:debian_linux:9.0, p-cpe:/a:debian:debian_linux:python-lxml-doc, p-cpe:/a:debian:debian_linux:python-lxml

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 12/30/2021

Vulnerability Publication Date: 12/13/2021

Reference Information

CVE: CVE-2021-43818