Debian dla-3963 : ansible - security update

medium Nessus Plugin ID 211754

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 11 host has a package installed that is affected by multiple vulnerabilities as referenced in the dla-3963 advisory.

- ------------------------------------------------------------------------- Debian LTS Advisory DLA-3963-1 [email protected] https://www.debian.org/lts/security/ Bastien Roucaris November 23, 2024 https://wiki.debian.org/LTS
- -------------------------------------------------------------------------

Package : ansible Version : 2.10.7+merged+base+2.10.17+dfsg-0+deb11u2 CVE ID : CVE-2024-8775 CVE-2024-9902 Debian Bug : 1082851

Ansible is a command-line IT automation software application.
It can configure systems, deploy software, and orchestrate advanced workflows to support application deployment, system updates, ...

Ansible was affected by two vulnerabilities:

CVE-2024-8775

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-9902

The ansible-core `user` module can allow an unprivileged user to silently create or replace the contents of any file on any system path and take ownership of it when a privileged user executes the `user` module against the unprivileged user's home directory.
If the unprivileged user has traversal permissions on the directory containing the exploited target file, they retain full control over the contents of the file as its owner.

For Debian 11 bullseye, these problems have been fixed in version 2.10.7+merged+base+2.10.17+dfsg-0+deb11u2.

We recommend that you upgrade your ansible packages.

For the detailed security status of ansible please refer to its security tracker page at:
https://security-tracker.debian.org/tracker/ansible

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS

Tenable has extracted the preceding description block directly from the Debian 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

Upgrade the ansible packages.

See Also

https://security-tracker.debian.org/tracker/source-package/ansible

https://security-tracker.debian.org/tracker/CVE-2024-8775

https://security-tracker.debian.org/tracker/CVE-2024-9902

https://packages.debian.org/source/bullseye/ansible

Plugin Details

Severity: Medium

ID: 211754

File Name: debian_DLA-3963.nasl

Version: 1.1

Type: local

Agent: unix

Published: 11/24/2024

Updated: 11/24/2024

Supported Sensors: Continuous Assessment, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.3

CVSS v2

Risk Factor: Medium

Base Score: 5.7

Temporal Score: 4.2

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

CVSS Score Source: CVE-2024-9902

CVSS v3

Risk Factor: Medium

Base Score: 6.3

Temporal Score: 5.5

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

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

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:11.0, p-cpe:/a:debian:debian_linux:ansible

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 11/23/2024

Vulnerability Publication Date: 9/14/2024

Reference Information

CVE: CVE-2024-8775, CVE-2024-9902