Amazon Linux 2023 : python3-virtualenv (ALAS2023-2025-831)

critical Nessus Plugin ID 215041

Synopsis

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

Description

It is, therefore, affected by a vulnerability as referenced in the ALAS2023-2025-831 advisory.

virtualenv before 20.26.6 allows command injection through the activation scripts for a virtual environment. Magic template strings are not quoted correctly when replacing. NOTE: this is not the same as CVE-2024-9287. (CVE-2024-53899)

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

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

Solution

Run 'dnf update python-virtualenv --releasever 2023.6.20250203' to update your system.

See Also

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

https://alas.aws.amazon.com/cve/html/CVE-2024-53899.html

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

Plugin Details

Severity: Critical

ID: 215041

File Name: al2023_ALAS2023-2025-831.nasl

Version: 1.2

Type: local

Agent: unix

Published: 2/5/2025

Updated: 2/6/2025

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

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

CVSS Score Source: CVE-2024-53899

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: cpe:/o:amazon:linux:2023, p-cpe:/a:amazon:linux:python3-virtualenv

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: 1/30/2025

Vulnerability Publication Date: 11/24/2024

Reference Information

CVE: CVE-2024-53899