Amazon Linux 2 : python38 (ALASPYTHON3.8-2023-008)

high Nessus Plugin ID 182013

Synopsis

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

Description

The version of python38 installed on the remote host is prior to 3.8.5-1. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2PYTHON3.8-2023-008 advisory.

A flaw was found in python. In Lib/tarfile.py 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)

A vulnerability was found in the way the ipaddress python module computes hash values in the IPv4Interface and IPv6Interface classes. This flaw allows an attacker to create many dictionary entries, due to the performance of a dictionary containing the IPv4Interface or IPv6Interface objects, possibly resulting in a denial of service. The highest threat from this vulnerability is to system availability. (CVE-2020-14422)

Tenable has extracted the preceding description block directly from the tested product 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

Run 'yum update python38' to update your system.

See Also

https://alas.aws.amazon.com/AL2/ALASPYTHON3.8-2023-008.html

https://alas.aws.amazon.com/cve/html/CVE-2019-20907.html

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

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

Plugin Details

Severity: High

ID: 182013

File Name: al2_ALASPYTHON3_8-2023-008.nasl

Version: 1.1

Type: local

Agent: unix

Published: 9/27/2023

Updated: 12/11/2024

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

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

CVSS Score Source: CVE-2019-20907

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:python38-tkinter, p-cpe:/a:amazon:linux:python38-devel, p-cpe:/a:amazon:linux:python38-debug, p-cpe:/a:amazon:linux:python38-test, cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:python38, p-cpe:/a:amazon:linux:python38-libs, p-cpe:/a:amazon:linux:python38-debuginfo, p-cpe:/a:amazon:linux:python38-tools

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

Exploit Ease: No known exploits are available

Patch Publication Date: 8/21/2023

Vulnerability Publication Date: 6/18/2020

Reference Information

CVE: CVE-2019-20907, CVE-2020-14422

IAVA: 2020-A-0340-S