RHEL 8 : python38:3.8 and python38-devel:3.8 (RHSA-2021:4162)

high Nessus Plugin ID 155193

Synopsis

The remote Red Hat host is missing one or more security updates for python38:3.8 / python38-devel:3.8.

Description

The remote Redhat Enterprise Linux 8 host has packages installed that are affected by multiple vulnerabilities as referenced in the RHSA-2021:4162 advisory.

Python is an interpreted, interactive, object-oriented programming language, which includes modules, classes, exceptions, very high level dynamic data types and dynamic typing. Python supports interfaces to many system calls and libraries, as well as to various windowing systems.

Security Fix(es):

* python-psutil: Double free because of refcount mishandling (CVE-2019-18874)

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

* python: Information disclosure via pydoc (CVE-2021-3426)

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

* 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-lxml: Missing input sanitization for formaction HTML5 attributes may lead to XSS (CVE-2021-28957)

* python-ipaddress: Improper input validation of octal strings (CVE-2021-29921)

* python-urllib3: ReDoS in the parsing of authority part of URL (CVE-2021-33503)

* python-pip: Incorrect handling of unicode separators in git references (CVE-2021-3572)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the Red Hat Enterprise Linux 8.5 Release Notes linked from the References section.

Tenable has extracted the preceding description block directly from the Red Hat Enterprise Linux security advisory.

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 RHEL python38:3.8 / python38-devel:3.8 packages based on the guidance in RHSA-2021:4162.

See Also

http://www.nessus.org/u?7240878e

http://www.nessus.org/u?cad3dbe8

https://access.redhat.com/security/updates/classification/#moderate

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

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

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

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

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

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

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

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

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

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

Plugin Details

Severity: High

ID: 155193

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

Version: 1.11

Type: local

Agent: unix

Published: 11/11/2021

Updated: 9/10/2025

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

Vendor

Vendor Severity: Moderate

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-2021-29921

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

CVSS v4

Risk Factor: High

Base Score: 8.7

Threat Score: 7.4

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

CVSS Score Source: CVE-2021-42771

Vulnerability Information

CPE: p-cpe:/a:redhat:enterprise_linux:python-jinja2, p-cpe:/a:redhat:enterprise_linux:python38-pip, p-cpe:/a:redhat:enterprise_linux:python38-psutil, p-cpe:/a:redhat:enterprise_linux:python3x-pip, p-cpe:/a:redhat:enterprise_linux:python38-debug, p-cpe:/a:redhat:enterprise_linux:python-requests, p-cpe:/a:redhat:enterprise_linux:babel, p-cpe:/a:redhat:enterprise_linux:python38-six, p-cpe:/a:redhat:enterprise_linux:python38-asn1crypto, p-cpe:/a:redhat:enterprise_linux:python38-pyyaml, p-cpe:/a:redhat:enterprise_linux:python38-markupsafe, p-cpe:/a:redhat:enterprise_linux:python-psutil, p-cpe:/a:redhat:enterprise_linux:python38-psycopg2-tests, p-cpe:/a:redhat:enterprise_linux:python-packaging, p-cpe:/a:redhat:enterprise_linux:python38-pytest, p-cpe:/a:redhat:enterprise_linux:python38-pluggy, p-cpe:/a:redhat:enterprise_linux:python3x-setuptools, p-cpe:/a:redhat:enterprise_linux:python-ply, p-cpe:/a:redhat:enterprise_linux:python38-psycopg2, p-cpe:/a:redhat:enterprise_linux:python38-setuptools, p-cpe:/a:redhat:enterprise_linux:python38-wheel, p-cpe:/a:redhat:enterprise_linux:python38-chardet, p-cpe:/a:redhat:enterprise_linux:python38-cffi, p-cpe:/a:redhat:enterprise_linux:python38-tkinter, p-cpe:/a:redhat:enterprise_linux:python38-babel, p-cpe:/a:redhat:enterprise_linux:scipy, p-cpe:/a:redhat:enterprise_linux:pyyaml, p-cpe:/a:redhat:enterprise_linux:python38-requests, p-cpe:/a:redhat:enterprise_linux:python-pymysql, p-cpe:/a:redhat:enterprise_linux:python-wcwidth, p-cpe:/a:redhat:enterprise_linux:python38-numpy-doc, p-cpe:/a:redhat:enterprise_linux:python38-lxml, p-cpe:/a:redhat:enterprise_linux:python-lxml, p-cpe:/a:redhat:enterprise_linux:python38-numpy-f2py, p-cpe:/a:redhat:enterprise_linux:python38-idle, p-cpe:/a:redhat:enterprise_linux:python38-atomicwrites, p-cpe:/a:redhat:enterprise_linux:python-urllib3, cpe:/o:redhat:enterprise_linux:8, p-cpe:/a:redhat:enterprise_linux:python38-pysocks, p-cpe:/a:redhat:enterprise_linux:python38-jinja2, p-cpe:/a:redhat:enterprise_linux:python-cffi, p-cpe:/a:redhat:enterprise_linux:python38-scipy, p-cpe:/a:redhat:enterprise_linux:python-idna, p-cpe:/a:redhat:enterprise_linux:python38-packaging, p-cpe:/a:redhat:enterprise_linux:python38-mod_wsgi, p-cpe:/a:redhat:enterprise_linux:python-markupsafe, p-cpe:/a:redhat:enterprise_linux:python-asn1crypto, p-cpe:/a:redhat:enterprise_linux:python38-pip-wheel, p-cpe:/a:redhat:enterprise_linux:python38-numpy, p-cpe:/a:redhat:enterprise_linux:numpy, p-cpe:/a:redhat:enterprise_linux:cython, p-cpe:/a:redhat:enterprise_linux:python38-psycopg2-doc, p-cpe:/a:redhat:enterprise_linux:python38-setuptools-wheel, p-cpe:/a:redhat:enterprise_linux:python38-pytz, p-cpe:/a:redhat:enterprise_linux:python38-rpm-macros, p-cpe:/a:redhat:enterprise_linux:python-py, p-cpe:/a:redhat:enterprise_linux:python38-more-itertools, p-cpe:/a:redhat:enterprise_linux:pytz, p-cpe:/a:redhat:enterprise_linux:python38-ply, p-cpe:/a:redhat:enterprise_linux:pytest, p-cpe:/a:redhat:enterprise_linux:python38-attrs, p-cpe:/a:redhat:enterprise_linux:python-cryptography, p-cpe:/a:redhat:enterprise_linux:python38-pycparser, p-cpe:/a:redhat:enterprise_linux:python-pysocks, p-cpe:/a:redhat:enterprise_linux:python38-devel, p-cpe:/a:redhat:enterprise_linux:python38-libs, p-cpe:/a:redhat:enterprise_linux:python3x-pyparsing, p-cpe:/a:redhat:enterprise_linux:python-atomicwrites, p-cpe:/a:redhat:enterprise_linux:python38-wheel-wheel, p-cpe:/a:redhat:enterprise_linux:python-more-itertools, p-cpe:/a:redhat:enterprise_linux:python38-pymysql, p-cpe:/a:redhat:enterprise_linux:python38-cython, p-cpe:/a:redhat:enterprise_linux:python38-cryptography, p-cpe:/a:redhat:enterprise_linux:python-attrs, p-cpe:/a:redhat:enterprise_linux:python38-wcwidth, p-cpe:/a:redhat:enterprise_linux:python38-test, p-cpe:/a:redhat:enterprise_linux:python-wheel, p-cpe:/a:redhat:enterprise_linux:python-chardet, p-cpe:/a:redhat:enterprise_linux:python38-urllib3, p-cpe:/a:redhat:enterprise_linux:python38-pyparsing, p-cpe:/a:redhat:enterprise_linux:mod_wsgi, p-cpe:/a:redhat:enterprise_linux:python-psycopg2, p-cpe:/a:redhat:enterprise_linux:python38, p-cpe:/a:redhat:enterprise_linux:python3x-six, p-cpe:/a:redhat:enterprise_linux:python38-idna, p-cpe:/a:redhat:enterprise_linux:python38-py, p-cpe:/a:redhat:enterprise_linux:python-pluggy, p-cpe:/a:redhat:enterprise_linux:python-pycparser

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: 11/9/2021

Vulnerability Publication Date: 11/12/2019

Reference Information

CVE: CVE-2019-18874, CVE-2020-27619, CVE-2020-28493, CVE-2021-23336, CVE-2021-28957, CVE-2021-29921, CVE-2021-33503, CVE-2021-3426, CVE-2021-3572, CVE-2021-42771

CWE: 20, 200, 22, 400, 416, 444, 79, 835, 95

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

RHSA: 2021:4162