Rocky Linux 8 : python38:3.8 (RLSA-2020:4641)

critical Nessus Plugin ID 184747

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-2020:4641 advisory.

- PyYAML 5.1 through 5.1.2 has insufficient restrictions on the load and load_all functions because of a class deserialization issue, e.g., Popen is a class in the subprocess module. NOTE: this issue exists because of an incomplete fix for CVE-2017-18342. (CVE-2019-20477)

- In Lib/tarfile.py in Python through 3.8.3, an attacker is able to craft a TAR archive leading to an infinite loop when opened by tarfile.open, because _proc_pax lacks header validation. (CVE-2019-20907)

- Lib/ipaddress.py in Python through 3.8.3 improperly computes hash values in the IPv4Interface and IPv6Interface classes, which might allow a remote attacker to cause a denial of service if an application is affected by the performance of a dictionary containing IPv4Interface or IPv6Interface objects, and this attacker can cause many dictionary entries to be created. This is fixed in: v3.5.10, v3.5.10rc1; v3.6.12;
v3.7.9; v3.8.4, v3.8.4rc1, v3.8.5, v3.8.6, v3.8.6rc1; v3.9.0, v3.9.0b4, v3.9.0b5, v3.9.0rc1, v3.9.0rc2.
(CVE-2020-14422)

- A vulnerability was discovered in the PyYAML library in versions before 5.3.1, where it is susceptible to arbitrary code execution when it processes untrusted YAML files through the full_load method or with the FullLoader loader. Applications that use the library to process untrusted input may be vulnerable to this flaw. An attacker could use this flaw to execute arbitrary code on the system by abusing the python/object/new constructor. (CVE-2020-1747)

- Python 2.7 through 2.7.17, 3.5 through 3.5.9, 3.6 through 3.6.10, 3.7 through 3.7.6, and 3.8 through 3.8.1 allows an HTTP server to conduct Regular Expression Denial of Service (ReDoS) attacks against a client because of urllib.request.AbstractBasicAuthHandler catastrophic backtracking. (CVE-2020-8492)

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-2020:4641

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

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

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

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

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

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

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

Plugin Details

Severity: Critical

ID: 184747

File Name: rocky_linux_RLSA-2020-4641.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: 6.7

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

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

CVSS Score Source: CVE-2020-1747

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:rocky:linux:python38-requests, p-cpe:/a:rocky:linux:python-psycopg2-debugsource, p-cpe:/a:rocky:linux:python38-pytz, p-cpe:/a:rocky:linux:python38-psutil, p-cpe:/a:rocky:linux:python-cryptography-debugsource, p-cpe:/a:rocky:linux:python38-babel, p-cpe:/a:rocky:linux:numpy-debugsource, p-cpe:/a:rocky:linux:python38-setuptools, p-cpe:/a:rocky:linux:python38-asn1crypto, p-cpe:/a:rocky:linux:python38-pyyaml-debuginfo, cpe:/o:rocky:linux:8, p-cpe:/a:rocky:linux:python38-psycopg2, p-cpe:/a:rocky:linux:python38-psycopg2-doc, p-cpe:/a:rocky:linux:pyyaml-debugsource, p-cpe:/a:rocky:linux:python38-jinja2, p-cpe:/a:rocky:linux:python38-numpy-f2py, p-cpe:/a:rocky:linux:python38-psycopg2-debuginfo, p-cpe:/a:rocky:linux:python38-scipy, p-cpe:/a:rocky:linux:python38-idna, p-cpe:/a:rocky:linux:python38-cffi, p-cpe:/a:rocky:linux:cython-debugsource, p-cpe:/a:rocky:linux:python38-cython-debuginfo, p-cpe:/a:rocky:linux:python38-cryptography, p-cpe:/a:rocky:linux:python38-pycparser, p-cpe:/a:rocky:linux:python38-setuptools-wheel, p-cpe:/a:rocky:linux:python38-cryptography-debuginfo, p-cpe:/a:rocky:linux:python38-chardet, p-cpe:/a:rocky:linux:python38-markupsafe-debuginfo, p-cpe:/a:rocky:linux:python38-psycopg2-tests, p-cpe:/a:rocky:linux:python38-urllib3, p-cpe:/a:rocky:linux:python38-pysocks, p-cpe:/a:rocky:linux:scipy-debugsource, p-cpe:/a:rocky:linux:python38-scipy-debuginfo, p-cpe:/a:rocky:linux:python38-pip-wheel, p-cpe:/a:rocky:linux:python38-markupsafe, p-cpe:/a:rocky:linux:python38-wheel-wheel, p-cpe:/a:rocky:linux:python-cffi-debugsource, p-cpe:/a:rocky:linux:python-psutil-debugsource, p-cpe:/a:rocky:linux:python-markupsafe-debugsource, p-cpe:/a:rocky:linux:python38-mod_wsgi, p-cpe:/a:rocky:linux:python38-pyyaml, p-cpe:/a:rocky:linux:python38-numpy-doc, p-cpe:/a:rocky:linux:python38-psutil-debuginfo, p-cpe:/a:rocky:linux:python38-cython, p-cpe:/a:rocky:linux:python38-wheel, p-cpe:/a:rocky:linux:python38-numpy, p-cpe:/a:rocky:linux:python38-numpy-debuginfo, p-cpe:/a:rocky:linux:python38-pip, p-cpe:/a:rocky:linux:python38-cffi-debuginfo

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/3/2020

Vulnerability Publication Date: 1/30/2020

Reference Information

CVE: CVE-2019-20477, CVE-2019-20907, CVE-2020-14422, CVE-2020-1747, CVE-2020-8492