Alpine: multiple ansible packages: security update to 2.9.7-r0

medium Tenable Cloud Security Plugin ID 403519

Description

There are packages installed that are affected by multiple vulnerabilities referenced in the following CVEs:

- A race condition flaw was found in Ansible Engine 2.7.17 and prior, 2.8.9 and prior, 2.9.6 and prior when
running a playbook with an unprivileged become user. When Ansible needs to run a module with become user,
the temporary directory is created in /var/tmp. This directory is created with "umask 77 && mkdir -p
<dir>"; this operation does not fail if the directory already exists and is owned by another user. An
attacker could take advantage to gain control of the become user as the target directory can be retrieved
by iterating '/proc/<pid>/cmdline'. (CVE-2020-1733)

- Ansible fetch module before versions 2.5.15, 2.6.14, 2.7.8 has a path traversal vulnerability which allows
copying and overwriting files outside of the specified destination in the local ansible controller host,
by not restricting an absolute path. (CVE-2019-3828)

- A flaw was found in Ansible 2.7.16 and prior, 2.8.8 and prior, and 2.9.5 and prior when a password is set
with the argument "password" of svn module, it is used on svn command line, disclosing to other users
within the same node. An attacker could take advantage by reading the cmdline file from that particular
PID on the procfs. (CVE-2020-1739)

- A flaw was found in Ansible Engine when using Ansible Vault for editing encrypted files. When a user
executes "ansible-vault edit", another user on the same computer can read the old and new secret, as it is
created in a temporary file with mkstemp and the returned file descriptor is closed and the method
write_data is called to write the existing secret in the file. This method will delete the file before
recreating it insecurely. All versions in 2.7.x, 2.8.x and 2.9.x branches are believed to be vulnerable.
(CVE-2020-1740)

See Also

https://security.alpinelinux.org/vuln/CVE-2019-3828

https://security.alpinelinux.org/vuln/CVE-2020-10691

https://security.alpinelinux.org/vuln/CVE-2020-1733

https://security.alpinelinux.org/vuln/CVE-2020-1739

https://security.alpinelinux.org/vuln/CVE-2020-1740

https://security.alpinelinux.org/vuln/CVE-2020-1746

Plugin Details

Severity: Medium

ID: 403519

Version: Revision 1.24

Type: Local

Published: 10/31/2023

Updated: 7/2/2026

Supported Sensors: Agentless Assessment, Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3.1

Percentile: 49.34

CVSS v2

Risk Factor: Low

Base Score: 3.7

Temporal Score: 2.9

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

CVSS Score Source: CVE-2020-1733

CVSS v3

Risk Factor: Medium

Base Score: 5.2

Temporal Score: 4.7

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L

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

CVSS Score Source: CVE-2020-10691

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 2/12/2019

Reference Information

CVE: CVE-2019-3828, CVE-2020-10691, CVE-2020-1733, CVE-2020-1739, CVE-2020-1740, CVE-2020-1746

BID: 107650

IAVB: 2019-B-0092-S, 2020-B-0016-S, 2022-B-0007