Amazon Linux 2023 : ansible-core, ansible-test (ALAS2023-2025-846)

medium Nessus Plugin ID 216804

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-846 advisory.

A flaw was found in Ansible, where sensitive information stored in Ansible Vault files can be exposed in plaintext during the execution of a playbook. This occurs when using tasks such as include_vars to load vaulted variables without setting the no_log: true parameter, resulting in sensitive data being printed in the playbook output or logs. This can lead to the unintentional disclosure of secrets like passwords or API keys, compromising security and potentially allowing unauthorized access or actions. (CVE-2024-8775)

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

See Also

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

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

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

Plugin Details

Severity: Medium

ID: 216804

File Name: al2023_ALAS2023-2025-846.nasl

Version: 1.1

Type: local

Agent: unix

Published: 2/26/2025

Updated: 2/26/2025

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 4.6

Temporal Score: 3.4

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

CVSS Score Source: CVE-2024-8775

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.8

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/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/12/2025

Vulnerability Publication Date: 9/14/2024

Reference Information

CVE: CVE-2024-8775