Debian DLA-2600-1 : pygments security update

high Nessus Plugin ID 147926

Synopsis

The remote Debian host is missing a security update.

Description

It was discovered that there was a series of denial of service vulnerabilities in Pygments, a popular syntax highlighting library for Python.

A number of regular expressions had exponential or cubic worst-case complexity which could cause a remote denial of service (DoS) when provided with malicious input.

For Debian 9 'Stretch', this problem has been fixed in version 2.2.0+dfsg-1+deb9u2.

We recommend that you upgrade your pygments packages.

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

NOTE: Tenable Network Security has extracted the preceding description block directly from the DLA security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Upgrade the affected packages.

See Also

https://lists.debian.org/debian-lts-announce/2021/03/msg00024.html

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

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

Plugin Details

Severity: High

ID: 147926

File Name: debian_DLA-2600.nasl

Version: 1.4

Type: local

Agent: unix

Published: 3/22/2021

Updated: 1/12/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.9

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

CVSS Score Source: CVE-2021-27291

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

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

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:python3-pygments, p-cpe:/a:debian:debian_linux:python-pygments, cpe:/o:debian:debian_linux:9.0, p-cpe:/a:debian:debian_linux:python-pygments-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: 3/19/2021

Vulnerability Publication Date: 3/17/2021

Reference Information

CVE: CVE-2021-27291