RHEL 8 : python27:2.7 (RHSA-2022:1821)

high Nessus Plugin ID 161026

Synopsis

The remote Red Hat host is missing one or more security updates for python27:2.7.

Description

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

Python is an interpreted, interactive, object-oriented programming language that supports modules, classes, exceptions, high-level dynamic data types, and dynamic typing. The python27 packages provide a stable release of Python 2.7 with a number of additional utilities and database connectors for MySQL and PostgreSQL.

Security Fix(es):

* python: urllib: Regular expression DoS in AbstractBasicAuthHandler (CVE-2021-3733)

* python: ftplib should not use the host from the PASV response (CVE-2021-4189)

* python-lxml: HTML Cleaner allows crafted and SVG embedded scripts to pass through (CVE-2021-43818)

* python: urllib.parse does not sanitize URLs containing ASCII newline and tabs (CVE-2022-0391)

* python: urllib: HTTP client possible infinite loop on a 100 Continue response (CVE-2021-3737)

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.6 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 python27:2.7 package based on the guidance in RHSA-2022:1821.

See Also

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

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

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

http://www.nessus.org/u?9341665d

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

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

https://access.redhat.com/errata/RHSA-2022:1821

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

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

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

Plugin Details

Severity: High

ID: 161026

File Name: redhat-RHSA-2022-1821.nasl

Version: 1.11

Type: local

Agent: unix

Published: 5/11/2022

Updated: 11/7/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

Vendor

Vendor Severity: Moderate

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

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

CVSS Score Source: CVE-2021-43818

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:H/A:N

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

CVSS Score Source: CVE-2022-0391

Vulnerability Information

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

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: 5/10/2022

Vulnerability Publication Date: 9/20/2021

Reference Information

CVE: CVE-2021-3733, CVE-2021-3737, CVE-2021-4189, CVE-2021-43818, CVE-2022-0391

CWE: 252, 400, 74, 79

IAVA: 2021-A-0497-S

RHSA: 2022:1821