Amazon Linux 2 : python (ALAS-2023-2330)

critical Nessus Plugin ID 184285

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 a vulnerability as referenced in the ALAS2-2023-2330 advisory.

- An XML External Entity (XXE) issue was discovered in Python through 3.9.1. The plistlib module no longer accepts entity declarations in XML plist files to avoid XML vulnerabilities. (CVE-2022-48565)

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

Solution

Run 'yum update python' to update your system.

See Also

https://alas.aws.amazon.com/AL2/ALAS-2023-2330.html

https://alas.aws.amazon.com/cve/html/CVE-2022-48565.html

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

Plugin Details

Severity: Critical

ID: 184285

File Name: al2_ALAS-2023-2330.nasl

Version: 1.1

Type: local

Agent: unix

Published: 11/2/2023

Updated: 11/3/2023

Supported Sensors: Agentless 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-2022-48565

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

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: 10/30/2023

Vulnerability Publication Date: 8/22/2023

Reference Information

CVE: CVE-2022-48565

IAVA: 2023-A-0442