Amazon Linux 2023 : ansible-core, ansible-test (ALAS2023-2024-505)

medium Nessus Plugin ID 190079

Synopsis

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

Description

It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2023-2024-505 advisory.

The upstream report describes this issue as follows:

When installing a maliciously created Ansible role using 'ansible-galaxy role install', arbitrary files the user has access to can be overwritten. The malicious role must contain a symlink with an absolute path to the target file, followed by a file of the same name (as the symlink) with the contents to write to the target. (CVE-2023-5115)

An information disclosure flaw was found in ansible-core due to a failure to respect the ANSIBLE_NO_LOG configuration in some scenarios. It was discovered that information is still included in the output in certain tasks, such as loop items. Depending on the task, this issue may include sensitive information, such as decrypted secret values. (CVE-2024-0690)

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 'dnf update ansible-core --releasever 2023.3.20240205' to update your system.

See Also

https://alas.aws.amazon.com/AL2023/ALAS-2024-505.html

https://alas.aws.amazon.com/cve/html/CVE-2023-5115.html

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

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

Plugin Details

Severity: Medium

ID: 190079

File Name: al2023_ALAS2023-2024-505.nasl

Version: 1.1

Type: local

Agent: unix

Published: 2/6/2024

Updated: 12/11/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.0

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

CVSS Score Source: CVE-2023-5115

CVSS v3

Risk Factor: Medium

Base Score: 6.3

Temporal Score: 5.5

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

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:ansible-test, p-cpe:/a:amazon:linux:ansible-core, cpe:/o:amazon:linux:2023

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

Exploit Ease: No known exploits are available

Patch Publication Date: 2/1/2024

Vulnerability Publication Date: 10/12/2023

Reference Information

CVE: CVE-2023-5115, CVE-2024-0690