RHEL 7 : python27 (RHSA-2021:3252)

critical Nessus Plugin ID 152778

Synopsis

The remote Red Hat host is missing one or more security updates.

Description

The remote Redhat Enterprise Linux 7 host has packages installed that are affected by multiple vulnerabilities as referenced in the RHSA-2021:3252 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: Stack-based buffer overflow in PyCArg_repr in _ctypes/callproc.c (CVE-2021-3177)

- 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 these issues but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

https://access.redhat.com/security/cve/CVE-2020-27619

https://access.redhat.com/security/cve/CVE-2020-28493

https://access.redhat.com/security/cve/CVE-2021-3177

https://access.redhat.com/security/cve/CVE-2021-20270

https://access.redhat.com/security/cve/CVE-2021-23336

https://access.redhat.com/security/cve/CVE-2021-27291

https://access.redhat.com/security/cve/CVE-2021-42771

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

https://bugzilla.redhat.com/1889886

https://bugzilla.redhat.com/1918168

https://bugzilla.redhat.com/1922136

https://bugzilla.redhat.com/1928707

https://bugzilla.redhat.com/1928904

https://bugzilla.redhat.com/1940603

https://bugzilla.redhat.com/1955615

Plugin Details

Severity: Critical

ID: 152778

File Name: redhat-RHSA-2021-3252.nasl

Version: 1.10

Type: local

Agent: unix

Published: 8/24/2021

Updated: 1/16/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.2

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

CVSS Score Source: CVE-2021-3177

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 9.1

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:F/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:redhat:enterprise_linux:7, p-cpe:/a:redhat:enterprise_linux:python27-babel, p-cpe:/a:redhat:enterprise_linux:python27-python, p-cpe:/a:redhat:enterprise_linux:python27-python-babel, p-cpe:/a:redhat:enterprise_linux:python27-python-debug, p-cpe:/a:redhat:enterprise_linux:python27-python-devel, p-cpe:/a:redhat:enterprise_linux:python27-python-jinja2, p-cpe:/a:redhat:enterprise_linux:python27-python-libs, p-cpe:/a:redhat:enterprise_linux:python27-python-pygments, p-cpe:/a:redhat:enterprise_linux:python27-python-test, p-cpe:/a:redhat:enterprise_linux:python27-python-tools, p-cpe:/a:redhat:enterprise_linux:python27-tkinter

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 8/24/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-3177

CWE: 120, 20, 22, 400, 444, 835, 95

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

RHSA: 2021:3252