Rocky Linux 8 : python36:3.6 (RLSA-2021:4150)

high Nessus Plugin ID 184505

Synopsis

The remote Rocky Linux host is missing one or more security updates.

Description

The remote Rocky Linux 8 host has packages installed that are affected by multiple vulnerabilities as referenced in the RLSA-2021:4150 advisory.

- An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the exception keyword. (CVE-2021-20270)

- In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.
(CVE-2021-27291)

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

Solution

Update the affected packages.

See Also

https://errata.rockylinux.org/RLSA-2021:4150

https://bugzilla.redhat.com/show_bug.cgi?id=1917971

https://bugzilla.redhat.com/show_bug.cgi?id=1922136

https://bugzilla.redhat.com/show_bug.cgi?id=1934199

https://bugzilla.redhat.com/show_bug.cgi?id=1940603

Plugin Details

Severity: High

ID: 184505

File Name: rocky_linux_RLSA-2021-4150.nasl

Version: 1.0

Type: local

Published: 11/6/2023

Updated: 11/6/2023

Supported Sensors: 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:rocky:linux:python36-rpm-macros, p-cpe:/a:rocky:linux:python3-sqlalchemy, p-cpe:/a:rocky:linux:python3-docs, p-cpe:/a:rocky:linux:python3-bson-debuginfo, cpe:/o:rocky:linux:8, p-cpe:/a:rocky:linux:python3-scipy-debuginfo, p-cpe:/a:rocky:linux:python3-docutils, p-cpe:/a:rocky:linux:python36-devel, p-cpe:/a:rocky:linux:python-pymongo-debuginfo, p-cpe:/a:rocky:linux:python-pymongo-doc, p-cpe:/a:rocky:linux:python36, p-cpe:/a:rocky:linux:python3-bson, p-cpe:/a:rocky:linux:python3-pymysql, p-cpe:/a:rocky:linux:scipy-debugsource, p-cpe:/a:rocky:linux:python-nose-docs, p-cpe:/a:rocky:linux:python3-pymongo-debuginfo, p-cpe:/a:rocky:linux:python-sqlalchemy-doc, p-cpe:/a:rocky:linux:python3-virtualenv, p-cpe:/a:rocky:linux:python3-wheel, p-cpe:/a:rocky:linux:python36-debug, p-cpe:/a:rocky:linux:python-virtualenv-doc, p-cpe:/a:rocky:linux:python3-nose, p-cpe:/a:rocky:linux:python3-scipy, p-cpe:/a:rocky:linux:python3-pygments, p-cpe:/a:rocky:linux:python3-pymongo, p-cpe:/a:rocky:linux:python-pymongo-debugsource, p-cpe:/a:rocky:linux:python3-wheel-wheel, p-cpe:/a:rocky:linux:python3-distro, p-cpe:/a:rocky:linux:python3-pymongo-gridfs

Required KB Items: Host/local_checks_enabled, Host/RockyLinux/release, Host/RockyLinux/rpm-list, Host/cpu

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 11/9/2021

Vulnerability Publication Date: 3/17/2021

Reference Information

CVE: CVE-2021-20270, CVE-2021-27291