Debian DLA-3442-1 : nbconvert - LTS security update

medium Nessus Plugin ID 176658

Synopsis

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

Description

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

- The GitHub Security Lab discovered sixteen ways to exploit a cross-site scripting vulnerability in nbconvert. When using nbconvert to generate an HTML version of a user-controllable notebook, it is possible to inject arbitrary HTML which may lead to cross-site scripting (XSS) vulnerabilities if these HTML notebooks are served by a web server (eg: nbviewer). (CVE-2021-32862)

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 nbconvert packages.

For Debian 10 buster, this problem has been fixed in version 5.4-2+deb10u1.

See Also

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

https://www.debian.org/lts/security/2023/dla-3442

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

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

Plugin Details

Severity: Medium

ID: 176658

File Name: debian_DLA-3442.nasl

Version: 1.0

Type: local

Agent: unix

Published: 6/3/2023

Updated: 6/3/2023

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

Risk Information

VPR

Risk Factor: Low

Score: 3.8

CVSS v2

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.3

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

CVSS Score Source: CVE-2021-32862

CVSS v3

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4.9

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

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

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:10.0, p-cpe:/a:debian:debian_linux:jupyter-nbconvert, p-cpe:/a:debian:debian_linux:python-nbconvert, p-cpe:/a:debian:debian_linux:python3-nbconvert, p-cpe:/a:debian:debian_linux:python-nbconvert-doc

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 6/3/2023

Vulnerability Publication Date: 8/10/2022

Reference Information

CVE: CVE-2021-32862