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.

- An absolute path traversal attack exists in the Ansible automation platform. This flaw allows an attacker to craft a malicious Ansible role and make the victim execute the role. A symlink can be used to overwrite a file outside of the extraction path. (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)

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.0

Type: local

Agent: unix

Published: 2/6/2024

Updated: 2/6/2024

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, 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