Rocky Linux 8 : python3 (RLSA-2023:0833)

high Nessus Plugin ID 171748

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-2023:0833 advisory.

- ** DISPUTED ** Python 3.x through 3.10 has an open redirection vulnerability in lib/http/server.py due to no protection against multiple (/) at the beginning of URI path which may leads to information disclosure.
NOTE: this is disputed by a third party because the http.server.html documentation page states Warning:
http.server is not recommended for production. It only implements basic security checks. (CVE-2021-28861)

- A flaw was found in python. In algorithms with quadratic time complexity using non-binary bases, when using int(text), a system could take 50ms to parse an int string with 100,000 digits and 5s for 1,000,000 digits (float, decimal, int.from_bytes(), and int() for binary bases 2, 4, 8, 16, and 32 are not affected). The highest threat from this vulnerability is to system availability. (CVE-2020-10735)

- An issue was discovered in Python before 3.11.1. An unnecessary quadratic algorithm exists in one path when processing some inputs to the IDNA (RFC 3490) decoder, such that a crafted, unreasonably long name being presented to the decoder could lead to a CPU denial of service. Hostnames are often supplied by remote servers that could be controlled by a malicious actor; in such a scenario, they could trigger excessive CPU consumption on the client attempting to make use of an attacker-supplied supposed hostname.
For example, the attack payload could be placed in the Location header of an HTTP response with status code 302. A fix is planned in 3.11.1, 3.10.9, 3.9.16, 3.8.16, and 3.7.16. (CVE-2022-45061)

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-2023:0833

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

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

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

Plugin Details

Severity: High

ID: 171748

File Name: rocky_linux_RLSA-2023-0833.nasl

Version: 1.2

Type: local

Published: 2/21/2023

Updated: 9/1/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.1

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

CVSS Score Source: CVE-2021-28861

CVSS v3

Risk Factor: High

Base Score: 7.4

Temporal Score: 6.7

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

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

Vulnerability Information

CPE: p-cpe:/a:rocky:linux:python3-libs, p-cpe:/a:rocky:linux:python3-test, p-cpe:/a:rocky:linux:platform-python-devel, p-cpe:/a:rocky:linux:platform-python-debug, p-cpe:/a:rocky:linux:platform-python, p-cpe:/a:rocky:linux:python3-debuginfo, cpe:/o:rocky:linux:8, p-cpe:/a:rocky:linux:python3-idle, p-cpe:/a:rocky:linux:python3-tkinter, p-cpe:/a:rocky:linux:python3-debugsource

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2/22/2023

Vulnerability Publication Date: 2/22/2023

Reference Information

CVE: CVE-2020-10735, CVE-2021-28861, CVE-2022-45061