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

medium Nessus Plugin ID 139087

Synopsis

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

Description

The version of python27 installed on the remote host is prior to 2.7.18-1.138. The version of python34 installed on the remote host is prior to 3.4.10-1.50. The version of python35 installed on the remote host is prior to 3.5.7-1.26. The version of python36 installed on the remote host is prior to 3.6.11-1.17. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS-2020-1407 advisory.

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)

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 python27' to update your system.
Run 'yum update python34' to update your system.
Run 'yum update python35' to update your system.
Run 'yum update python36' to update your system.

See Also

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

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

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

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

Plugin Details

Severity: Medium

ID: 139087

File Name: ala_ALAS-2020-1407.nasl

Version: 1.6

Type: local

Agent: unix

Published: 7/30/2020

Updated: 12/11/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.4

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

CVSS Score Source: CVE-2019-18348

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.5

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

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:python36-devel, p-cpe:/a:amazon:linux:python27, 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:python27-devel, p-cpe:/a:amazon:linux:python34-devel, p-cpe:/a:amazon:linux:python27-libs, 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:python27-tools, p-cpe:/a:amazon:linux:python27-test, p-cpe:/a:amazon:linux:python36-test, p-cpe:/a:amazon:linux:python27-debuginfo, 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 Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 7/29/2020

Vulnerability Publication Date: 1/30/2020

Reference Information

CVE: CVE-2019-18348, CVE-2020-8492

ALAS: 2020-1407