RHEL 7 / 8 : Ansible security update (2.9.18) (Moderate) (RHSA-2021:0663)

high Nessus Plugin ID 146820

Synopsis

The remote Red Hat host is missing one or more security updates for Ansible.

Description

The remote Redhat Enterprise Linux 7 / 8 host has packages installed that are affected by multiple vulnerabilities as referenced in the RHSA-2021:0663 advisory.

Ansible is a simple model-driven configuration management, multi-node deployment, and remote-task execution system. Ansible works over SSH and does not require any software or daemons to be installed on remote nodes.
Extension modules can be written in any language and are transferred to managed machines automatically.

The following packages have been upgraded to a newer upstream version:
ansible (2.9.18)

Bug Fix(es):
* CVE-2021-20178 ansible: user data leak in snmp_facts module
* CVE-2021-20180 ansible module: bitbucket_pipeline_variable exposes secured values
* CVE-2021-20191 ansible: multiple collections exposes secured values
* CVE-2021-20228 ansible: basic.py no_log with fallback option

See:
https://github.com/ansible/ansible/blob/v2.9.18/changelogs/CHANGELOG-v2.9.rst for details on bug fixes in this release.

Tenable has extracted the preceding description block directly from the Red Hat Enterprise Linux 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

Update the RHEL Ansible package based on the guidance in RHSA-2021:0663.

See Also

http://www.nessus.org/u?828fc91b

https://access.redhat.com/security/updates/classification/#moderate

https://access.redhat.com/errata/RHSA-2021:0663

https://bugzilla.redhat.com/show_bug.cgi?id=1914774

https://bugzilla.redhat.com/show_bug.cgi?id=1915808

https://bugzilla.redhat.com/show_bug.cgi?id=1916813

https://bugzilla.redhat.com/show_bug.cgi?id=1925002

Plugin Details

Severity: High

ID: 146820

File Name: redhat-RHSA-2021-0663.nasl

Version: 1.16

Type: local

Agent: unix

Published: 2/24/2021

Updated: 11/7/2024

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

Risk Information

VPR

Risk Factor: Low

Score: 3.6

Vendor

Vendor Severity: Moderate

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

CVSS Score Source: CVE-2021-20228

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/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:redhat:enterprise_linux:ansible-test, p-cpe:/a:redhat:enterprise_linux:ansible, cpe:/o:redhat:enterprise_linux:8, cpe:/o:redhat:enterprise_linux:7

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

Exploit Ease: No known exploits are available

Patch Publication Date: 2/24/2021

Vulnerability Publication Date: 2/21/2021

Reference Information

CVE: CVE-2021-20178, CVE-2021-20180, CVE-2021-20191, CVE-2021-20228

CWE: 522, 532

IAVB: 2021-B-0013-S

RHSA: 2021:0663