Debian DSA-5043-1 : lxml - security update

high Nessus Plugin ID 156697

Synopsis

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

Description

The remote Debian 10 / 11 host has packages installed that are affected by a vulnerability as referenced in the dsa-5043 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 the stable distribution (bullseye), this problem has been fixed in version 4.6.3+dfsg-0.1+deb11u1.

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/security/2022/dsa-5043

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

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

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

Plugin Details

Severity: High

ID: 156697

File Name: debian_DSA-5043.nasl

Version: 1.2

Type: local

Agent: unix

Published: 1/13/2022

Updated: 1/13/2022

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, 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:python-lxml, p-cpe:/a:debian:debian_linux:python-lxml-dbg, p-cpe:/a:debian:debian_linux:python-lxml-doc, p-cpe:/a:debian:debian_linux:python3-lxml, p-cpe:/a:debian:debian_linux:python3-lxml-dbg, cpe:/o:debian:debian_linux:10.0, cpe:/o:debian:debian_linux:11.0

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

Exploit Ease: No known exploits are available

Patch Publication Date: 1/12/2022

Vulnerability Publication Date: 12/13/2021

Reference Information

CVE: CVE-2021-43818