Amazon Linux 2 : python3 (ALAS-2019-1247)

medium Nessus Plugin ID 126959
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

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

Description

An issue was discovered in urllib2 in Python 2.x and urllib in Python 3.x. CRLF injection is possible if the attacker controls a url parameter, as demonstrated by the first argument to urllib.request.urlopen with \r\n (specifically in the path component of a URL that lacks a ? character) followed by an HTTP header or a Redis command. This is similar to the CVE-2019-9740 query string issue. (CVE-2019-9947 , CVE-2019-9740)

Solution

Run 'yum update python3' to update your system.

See Also

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

Plugin Details

Severity: Medium

ID: 126959

File Name: al2_ALAS-2019-1247.nasl

Version: 1.2

Type: local

Agent: unix

Published: 7/24/2019

Updated: 1/6/2020

Dependencies: ssh_get_info.nasl

Risk Information

VPR

Risk Factor: Low

Score: 3

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.2

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

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

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.3

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:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:2.3:o:amazon:linux:2:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:python3:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:python3-debug:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:python3-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:python3-devel:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:python3-libs:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:python3-test:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:python3-tkinter:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:python3-tools:*:*:*:*:*:*:*

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

Exploit Ease: No known exploits are available

Patch Publication Date: 7/22/2019

Vulnerability Publication Date: 3/13/2019

Reference Information

CVE: CVE-2019-9947, CVE-2019-9740

ALAS: 2019-1247