Amazon Linux 2023 : python3, python3-devel, python3-idle (ALAS2023-2023-116)

high Nessus Plugin ID 173086

Synopsis

The remote Amazon Linux 2023 host is missing a security update.

Description

It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2023-2023-116 advisory.

- 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 in the urllib.parse component of Python before v3.11 allows attackers to bypass blocklisting methods by supplying a URL that starts with blank characters. (CVE-2023-24329)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Run 'dnf update python3.9 --releasever=2023.0.20230308' to update your system.

See Also

https://alas.aws.amazon.com/AL2023/ALAS-2023-116.html

https://alas.aws.amazon.com/cve/html/CVE-2020-10735.html

https://alas.aws.amazon.com/cve/html/CVE-2023-24329.html

https://alas.aws.amazon.com/faqs.html

Plugin Details

Severity: High

ID: 173086

File Name: al2023_ALAS2023-2023-116.nasl

Version: 1.4

Type: local

Agent: unix

Published: 3/21/2023

Updated: 8/31/2023

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, 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:N/I:C/A:N

CVSS Score Source: CVE-2023-24329

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:python-unversioned-command, p-cpe:/a:amazon:linux:python3, p-cpe:/a:amazon:linux:python3-debug, p-cpe:/a:amazon:linux:python3-devel, p-cpe:/a:amazon:linux:python3-idle, p-cpe:/a:amazon:linux:python3-libs, p-cpe:/a:amazon:linux:python3-test, p-cpe:/a:amazon:linux:python3-tkinter, p-cpe:/a:amazon:linux:python3.9-debuginfo, p-cpe:/a:amazon:linux:python3.9-debugsource, cpe:/o:amazon:linux:2023

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/6/2023

Vulnerability Publication Date: 9/8/2022

Reference Information

CVE: CVE-2020-10735, CVE-2023-24329

IAVA: 2023-A-0118-S, 2023-A-0283-S