CentOS 8 : python27:2.7 (CESA-2021:4151)

critical Nessus Plugin ID 155049

Synopsis

The remote CentOS host is missing one or more security updates.

Description

The remote CentOS Linux 8 host has packages installed that are affected by multiple vulnerabilities as referenced in the CESA-2021:4151 advisory.

- python: Unsafe use of eval() on data retrieved via HTTP in the test suite (CVE-2020-27619)

- python-jinja2: ReDoS vulnerability in the urlize filter (CVE-2020-28493)

- python-pygments: Infinite loop in SML lexer may lead to DoS (CVE-2021-20270)

- python: Web cache poisoning via urllib.parse.parse_qsl and urllib.parse.parse_qs by using a semicolon in query parameters (CVE-2021-23336)

- python-pygments: ReDoS in multiple lexers (CVE-2021-27291)

- python-lxml: Missing input sanitization for formaction HTML5 attributes may lead to XSS (CVE-2021-28957)

- python-babel: Relative path traversal allows attacker to load arbitrary locale files and execute arbitrary code (CVE-2021-42771)

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

Solution

Update the affected packages.

See Also

https://access.redhat.com/errata/RHSA-2021:4151

Plugin Details

Severity: Critical

ID: 155049

File Name: centos8_RHSA-2021-4151.nasl

Version: 1.5

Type: local

Agent: unix

Published: 11/11/2021

Updated: 1/16/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

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

CVSS Score Source: CVE-2020-27619

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

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

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

Vulnerability Information

CPE: p-cpe:/a:centos:centos:python2-funcsigs, p-cpe:/a:centos:centos:python2-idna, p-cpe:/a:centos:centos:python2-ipaddress, p-cpe:/a:centos:centos:python2-jinja2, p-cpe:/a:centos:centos:python2-libs, cpe:/o:centos:centos:8-stream, p-cpe:/a:centos:centos:babel, p-cpe:/a:centos:centos:python-nose-docs, p-cpe:/a:centos:centos:python-psycopg2-doc, p-cpe:/a:centos:centos:python-sqlalchemy-doc, p-cpe:/a:centos:centos:python2, p-cpe:/a:centos:centos:python2-cython, p-cpe:/a:centos:centos:python2-pymysql, p-cpe:/a:centos:centos:python2-attrs, p-cpe:/a:centos:centos:python2-babel, p-cpe:/a:centos:centos:python2-backports, p-cpe:/a:centos:centos:python2-backports-ssl_match_hostname, p-cpe:/a:centos:centos:python2-bson, p-cpe:/a:centos:centos:python2-chardet, p-cpe:/a:centos:centos:python2-coverage, p-cpe:/a:centos:centos:python2-debug, p-cpe:/a:centos:centos:python2-devel, p-cpe:/a:centos:centos:python2-dns, p-cpe:/a:centos:centos:python2-docs, p-cpe:/a:centos:centos:python2-docs-info, p-cpe:/a:centos:centos:python2-docutils, p-cpe:/a:centos:centos:python2-lxml, p-cpe:/a:centos:centos:python2-markupsafe, p-cpe:/a:centos:centos:python2-mock, p-cpe:/a:centos:centos:python2-nose, p-cpe:/a:centos:centos:python2-numpy, p-cpe:/a:centos:centos:python2-numpy-doc, p-cpe:/a:centos:centos:python2-numpy-f2py, p-cpe:/a:centos:centos:python2-pip, p-cpe:/a:centos:centos:python2-pip-wheel, p-cpe:/a:centos:centos:python2-pluggy, p-cpe:/a:centos:centos:python2-psycopg2, p-cpe:/a:centos:centos:python2-psycopg2-debug, p-cpe:/a:centos:centos:python2-psycopg2-tests, p-cpe:/a:centos:centos:python2-py, p-cpe:/a:centos:centos:python2-pygments, p-cpe:/a:centos:centos:python2-pymongo, p-cpe:/a:centos:centos:python2-pymongo-gridfs, p-cpe:/a:centos:centos:python2-pysocks, p-cpe:/a:centos:centos:python2-pytest, p-cpe:/a:centos:centos:python2-pytest-mock, p-cpe:/a:centos:centos:python2-pytz, p-cpe:/a:centos:centos:python2-pyyaml, p-cpe:/a:centos:centos:python2-requests, p-cpe:/a:centos:centos:python2-rpm-macros, p-cpe:/a:centos:centos:python2-scipy, p-cpe:/a:centos:centos:python2-setuptools, p-cpe:/a:centos:centos:python2-setuptools-wheel, p-cpe:/a:centos:centos:python2-setuptools_scm, p-cpe:/a:centos:centos:python2-six, p-cpe:/a:centos:centos:python2-sqlalchemy, p-cpe:/a:centos:centos:python2-test, p-cpe:/a:centos:centos:python2-tkinter, p-cpe:/a:centos:centos:python2-tools, p-cpe:/a:centos:centos:python2-urllib3, p-cpe:/a:centos:centos:python2-virtualenv, p-cpe:/a:centos:centos:python2-wheel, p-cpe:/a:centos:centos:python2-wheel-wheel

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 11/9/2021

Vulnerability Publication Date: 10/22/2020

Reference Information

CVE: CVE-2020-27619, CVE-2020-28493, CVE-2021-20270, CVE-2021-23336, CVE-2021-27291, CVE-2021-28957, CVE-2021-42771

IAVA: 2021-A-0052-S, 2021-A-0263-S

RHSA: 2021:4151