Amazon Linux 2 : python (ALAS-2019-1291)

critical Nessus Plugin ID 129070

Synopsis

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

Description

urllib in Python 2.7.16 supports the local_file: scheme, which makes it easier for remote attackers to bypass protection mechanisms that blacklist file: URIs, as demonstrated by triggering a urllib.urlopen('local_file:///etc/passwd') call. (CVE-2019-9948)

Solution

Run 'yum update python' to update your system.

See Also

https://alas.aws.amazon.com/AL2/ALAS-2019-1291.html

Plugin Details

Severity: Critical

ID: 129070

File Name: al2_ALAS-2019-1291.nasl

Version: 1.2

Type: local

Agent: unix

Published: 9/20/2019

Updated: 12/27/2019

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.0

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

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

CVSS v3

Risk Factor: Critical

Base Score: 9.1

Temporal Score: 7.9

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

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

Vulnerability Information

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

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/19/2019

Vulnerability Publication Date: 3/23/2019

Reference Information

CVE: CVE-2019-9948

ALAS: 2019-1291