Amazon Linux 2 : python3 (ALAS-2023-2317)

critical Nessus Plugin ID 183926

Synopsis

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

Description

The version of python3 installed on the remote host is prior to 3.7.10-1. It is, therefore, affected by a vulnerability as referenced in the ALAS2-2023-2317 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 python3' to update your system.

See Also

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

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

https://alas.aws.amazon.com/cve/html/CVE-2020-26116.html

https://alas.aws.amazon.com/cve/html/CVE-2020-27619.html

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

Plugin Details

Severity: Critical

ID: 183926

File Name: al2_ALAS-2023-2317.nasl

Version: 1.2

Type: local

Agent: unix

Published: 10/26/2023

Updated: 10/31/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: High

Base Score: 7.5

Temporal Score: 5.9

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

CVSS Score Source: CVE-2020-27619

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

CVSS Score Source: CVE-2022-48565

Vulnerability Information

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

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/25/2023

Vulnerability Publication Date: 8/22/2023

Reference Information

CVE: CVE-2020-26116, CVE-2020-27619, CVE-2022-48565

IAVA: 2023-A-0442