Amazon Linux AMI : python34, python36, python35 (ALAS-2020-1432)

high Nessus Plugin ID 140207

Synopsis

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

Description

The version of tested product installed on the remote host is prior to tested version. It is, therefore, affected by a vulnerability as referenced in the ALAS-2020-1432 advisory.

- 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)

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

Solution

Run 'yum update python34' to update your system.
Run 'yum update python36' to update your system.
Run 'yum update python35' to update your system.

See Also

https://alas.aws.amazon.com/ALAS-2020-1432.html

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

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

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

Plugin Details

Severity: High

ID: 140207

File Name: ala_ALAS-2020-1432.nasl

Version: 1.3

Type: local

Agent: unix

Published: 9/4/2020

Updated: 3/21/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: 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:python36-devel, p-cpe:/a:amazon:linux:python35-tools, p-cpe:/a:amazon:linux:python34-libs, cpe:/o:amazon:linux, p-cpe:/a:amazon:linux:python36, p-cpe:/a:amazon:linux:python35-debuginfo, p-cpe:/a:amazon:linux:python36-debuginfo, p-cpe:/a:amazon:linux:python36-tools, p-cpe:/a:amazon:linux:python35-devel, p-cpe:/a:amazon:linux:python35-test, p-cpe:/a:amazon:linux:python36-libs, p-cpe:/a:amazon:linux:python34, p-cpe:/a:amazon:linux:python36-debug, p-cpe:/a:amazon:linux:python34-devel, p-cpe:/a:amazon:linux:python34-debuginfo, p-cpe:/a:amazon:linux:python34-tools, p-cpe:/a:amazon:linux:python35, p-cpe:/a:amazon:linux:python36-test, p-cpe:/a:amazon:linux:python35-libs, p-cpe:/a:amazon:linux:python34-test

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

Exploit Ease: No known exploits are available

Patch Publication Date: 9/3/2020

Vulnerability Publication Date: 6/18/2020

Reference Information

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

ALAS: 2020-1432