Debian dla-3856 : python3-html-sanitizer - security update

medium Nessus Plugin ID 206214

Synopsis

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

Description

The remote Debian 11 host has a package installed that is affected by a vulnerability as referenced in the dla-3856 advisory.

- ------------------------------------------------------------------------- Debian LTS Advisory DLA-3856-1 [email protected] https://www.debian.org/lts/security/ Chris Lamb August 26, 2024 https://wiki.debian.org/LTS
- -------------------------------------------------------------------------

Package : python-html-sanitizer Version : 1.9.1-2+deb11u1 CVE ID : CVE-2024-34078 Debian Bug : 1070710

It was discovered that there was a sanitisation bypass issue in python-html-sanitizer, a library used ensure that user-specified content cannot inject HTML or JavaScript into a webpage.

If the default keep_typographic_whitespace=False value was set, malicous users could have exploited the fact that some Unicode characters normalise to chevrons, which allowed specially-crafted HTML to escape sanitization.

For Debian 11 bullseye, this problem has been fixed in version 1.9.1-2+deb11u1.

We recommend that you upgrade your python-html-sanitizer packages.

For the detailed security status of python-html-sanitizer please refer to its security tracker page at:
https://security-tracker.debian.org/tracker/python-html-sanitizer

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS

Tenable has extracted the preceding description block directly from the Debian security advisory.

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 python3-html-sanitizer packages.

See Also

http://www.nessus.org/u?bff5c7d4

https://security-tracker.debian.org/tracker/CVE-2024-34078

https://packages.debian.org/source/bullseye/python-html-sanitizer

Plugin Details

Severity: Medium

ID: 206214

File Name: debian_DLA-3856.nasl

Version: 1.1

Type: local

Agent: unix

Published: 8/26/2024

Updated: 8/26/2024

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

Risk Information

VPR

Risk Factor: Low

Score: 3.0

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

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

CVSS Score Source: CVE-2024-34078

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.3

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

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:python3-html-sanitizer, 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: 8/26/2024

Vulnerability Publication Date: 5/5/2024

Reference Information

CVE: CVE-2024-34078