Amazon Linux AMI : python26 (ALAS-2025-1972)

medium Nessus Plugin ID 234998

Synopsis

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

Description

The version of python26 installed on the remote host is prior to 2.6.9-2.92. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS-2025-1972 advisory.

A CRLF injection flaw was discovered in python in the way URLs are handled when doing an HTTP/HTTPS connection (e.g. through urlopen() or HTTPConnection). An attacker who can control the url parameter passed to urlopen method in the urllib/urllib2 modules can inject CRLF sequences and HTTP headers by abusing the host part of the URL. (CVE-2019-18348)

A flaw was found in python. In Lib/tarfile.py an attacker is able to craft a TAR archive leading to an infinite loop when opened by tarfile.open, because _proc_pax lacks header validation. (CVE-2019-20907)

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 python26' to update your system.

See Also

https://alas.aws.amazon.com/ALAS-2025-1972.html

https://alas.aws.amazon.com/cve/html/CVE-2019-18348.html

https://alas.aws.amazon.com/cve/html/CVE-2019-20907.html

https://alas.aws.amazon.com/faqs.html

Plugin Details

Severity: Medium

ID: 234998

File Name: ala_ALAS-2025-1972.nasl

Version: 1.1

Type: local

Agent: unix

Published: 4/30/2025

Updated: 4/30/2025

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

Risk Information

VPR

Risk Factor: Low

Score: 3.6

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

CVSS Score Source: CVE-2019-18348

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: p-cpe:/a:amazon:linux:python26, p-cpe:/a:amazon:linux:python26-libs, p-cpe:/a:amazon:linux:python26-tools, p-cpe:/a:amazon:linux:python26-debuginfo, p-cpe:/a:amazon:linux:python26-devel, cpe:/o:amazon:linux, p-cpe:/a:amazon:linux:python26-test

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

Exploit Ease: No known exploits are available

Patch Publication Date: 4/23/2025

Vulnerability Publication Date: 10/23/2019

Reference Information

CVE: CVE-2019-18348, CVE-2019-20907

IAVA: 2020-A-0340-S