RHEL 7 / 8 : Ansible security update (2.9.23) (Important) (RHSA-2021:2663)

high Nessus Plugin ID 151445

Synopsis

The remote Red Hat host is missing a security update for Ansible.

Description

The remote Redhat Enterprise Linux 7 / 8 host has packages installed that are affected by a vulnerability as referenced in the RHSA-2021:2663 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.23)

Bug Fix(es):
* CVE-2021-3583 ansible: Template Injection through yaml multi-line strings with ansible facts used in template.

See:
https://github.com/ansible/ansible/blob/v2.9.23/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 this issue 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:2663.

See Also

http://www.nessus.org/u?645c2d3e

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

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

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

Plugin Details

Severity: High

ID: 151445

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

Version: 1.13

Type: local

Agent: unix

Published: 7/7/2021

Updated: 11/7/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.2

Vendor

Vendor Severity: Important

CVSS v2

Risk Factor: Low

Base Score: 3.6

Temporal Score: 2.7

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

CVSS Score Source: CVE-2021-3583

CVSS v3

Risk Factor: High

Base Score: 7.1

Temporal Score: 6.2

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

Vulnerability Publication Date: 7/7/2021

Reference Information

CVE: CVE-2021-3583

CWE: 77

IAVB: 2022-B-0007

RHSA: 2021:2663