Amazon Linux AMI : python36 (ALAS-2021-1500)

medium Nessus Plugin ID 149784

Synopsis

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

Description

The version of python36 installed on the remote host is prior to 3.6.12-1.21. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS-2021-1500 advisory.

The package python/cpython is vulnerable to Web Cache Poisoning via urllib.parse.parse_qsl and urllib.parse.parse_qs by using a vector called parameter cloaking. When the attacker can separate query parameters using a semicolon (;), they can cause a difference in the interpretation of the request between the proxy (running with default configuration) and the server. This can result in malicious requests being cached as completely safe ones, as the proxy would usually not see the semicolon as a separator, and therefore would not include it in a cache key of an unkeyed parameter. (CVE-2021-23336)

No description is available for this CVE. (CVE-2021-3426)

Tenable has extracted the preceding description block directly from the tested product security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Run 'yum update python36' to update your system.

See Also

https://alas.aws.amazon.com/ALAS-2021-1500.html

https://access.redhat.com/security/cve/CVE-2021-23336

https://access.redhat.com/security/cve/CVE-2021-3426

Plugin Details

Severity: Medium

ID: 149784

File Name: ala_ALAS-2021-1500.nasl

Version: 1.6

Type: local

Agent: unix

Published: 5/19/2021

Updated: 12/11/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.0

CVSS v2

Risk Factor: Medium

Base Score: 4

Temporal Score: 3.1

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

CVSS Score Source: CVE-2021-23336

CVSS v3

Risk Factor: Medium

Base Score: 5.9

Temporal Score: 5.3

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

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

Vulnerability Information

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

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: 5/14/2021

Vulnerability Publication Date: 1/28/2021

Reference Information

CVE: CVE-2021-23336, CVE-2021-3426

ALAS: 2021-1500