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

critical Nessus Plugin ID 124594

Synopsis

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

Description

Python 2.7.x through 2.7.16 and 3.x through 3.7.2 is affected by:
Improper Handling of Unicode Encoding (with an incorrect netloc) during NFKC normalization. The impact is: Information disclosure (credentials, cookies, etc. that are cached against a given hostname).
The components are: urllib.parse.urlsplit, urllib.parse.urlparse. The attack vector is: A specially crafted URL could be incorrectly parsed to locate cookies or authentication data and send that information to a different host than when parsed correctly.(CVE-2019-9636)

Modules/_pickle.c in Python before 3.7.1 has an integer overflow via a large LONG_BINPUT value that is mishandled during a 'resize to twice the size' attempt. This issue might cause memory exhaustion, but is only relevant if the pickle format is used for serializing tens or hundreds of gigabytes of data. (CVE-2018-20406)

Solution

Run 'yum update python3' to update your system.

See Also

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

Plugin Details

Severity: Critical

ID: 124594

File Name: al2_ALAS-2019-1204.nasl

Version: 1.4

Type: local

Agent: unix

Published: 5/6/2019

Updated: 5/29/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.9

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

CVSS Score Source: CVE-2019-9636

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

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

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

Vulnerability Information

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

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: 6/13/2019

Vulnerability Publication Date: 12/23/2018

Reference Information

CVE: CVE-2018-20406, CVE-2019-9636

ALAS: 2019-1204