Amazon Linux 2 : python, --advisory ALAS2-2026-3218 (ALAS-2026-3218)

medium Nessus Plugin ID 304604

Synopsis

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

Description

The version of python installed on the remote host is prior to 2.7.18-1. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2-2026-3218 advisory.

The fix for CVE-2026-0672, which rejected control characters in http.cookies.Morsel, was incomplete. The Morsel.update(), |= operator, and unpickling paths were not patched, allowing control characters to bypass input validation. Additionally, BaseCookie.js_output() lacked the output validation applied to BaseCookie.output(). (CVE-2026-3644)

When an Expat parser with a registered ElementDeclHandler parses an inlinedocument type definition containing a deeply nested content model a C stackoverflow occurs. (CVE-2026-4224)

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 python' or or 'yum update --advisory ALAS2-2026-3218' to update your system.

See Also

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

https://explore.alas.aws.amazon.com/CVE-2026-3644.html

https://explore.alas.aws.amazon.com/CVE-2026-4224.html

https://alas.aws.amazon.com//AL2/ALAS2-2026-3218.html

Plugin Details

Severity: Medium

ID: 304604

File Name: al2_ALAS-2026-3218.nasl

Version: 1.1

Type: Local

Agent: unix

Published: 4/1/2026

Updated: 4/1/2026

Supported Sensors: Nessus Agent, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 6.7

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

CVSS Score Source: CVE-2026-4224

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.8

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

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

CVSS v4

Risk Factor: Medium

Base Score: 6

Threat Score: 2.3

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:python-tools, p-cpe:/a:amazon:linux:python-test, p-cpe:/a:amazon:linux:python-debuginfo, p-cpe:/a:amazon:linux:python-devel, p-cpe:/a:amazon:linux:python-debug, p-cpe:/a:amazon:linux:python-libs, p-cpe:/a:amazon:linux:python, cpe:/o:amazon:linux:2, p-cpe:/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: 4/1/2026

Vulnerability Publication Date: 2/12/2026

Reference Information

CVE: CVE-2026-3644, CVE-2026-4224

IAVA: 2026-A-0142