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.3

Type: local

Agent: unix

Published: 9/20/2019

Updated: 4/24/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.0

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 5

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

CVSS Score Source: CVE-2019-9948

CVSS v3

Risk Factor: Critical

Base Score: 9.1

Temporal Score: 8.2

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:P/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 Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 9/19/2019

Vulnerability Publication Date: 3/23/2019

Reference Information

CVE: CVE-2019-9948

ALAS: 2019-1291