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

medium Nessus Plugin ID 129070
New! Vulnerability Priority Rating (VPR)

Tenable calculates a dynamic VPR for every vulnerability. VPR combines vulnerability information with threat intelligence and machine learning algorithms to predict which vulnerabilities are most likely to be exploited in attacks. Read more about what VPR is and how it is different from CVSS.

VPR Score: 5.2

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: Medium

ID: 129070

File Name: al2_ALAS-2019-1291.nasl

Version: 1.2

Type: local

Agent: unix

Published: 9/20/2019

Updated: 12/27/2019

Dependencies: ssh_get_info.nasl

Risk Information

Risk Factor: Medium

VPR Score: 5.2

CVSS v2.0

Base Score: 6.4

Temporal Score: 4.7

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

Temporal Vector: CVSS2#E:U/RL:OF/RC:C

CVSS v3.0

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: cpe:2.3:o:amazon:linux:2:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:python:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:python-debug:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:python-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:python-devel:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:python-libs:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:python-test:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:python-tools:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:tkinter:*:*:*:*:*:*:*

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