An update for ansible is now available for openEuler-20.03-LTS-SP1
Security Advisory
openeuler-security@openeuler.org
openEuler security committee
openEuler-SA-2022-1950
Final
1.0
1.0
2022-09-23
Initial
2022-09-23
2022-09-23
openEuler SA Tool V1.0
2022-09-23
ansible security update
An update for ansible is now available for openEuler-20.03-LTS-SP1.
\
Security Fix(es):
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)
A flaw was found in the Ansible Engine when the fetch module is used. An attacker could intercept the module, inject a new path, and then choose a new destination path on the controller node. All versions in 2.7.x, 2.8.x and 2.9.x branches are believed to be vulnerable.(CVE-2020-1735)
A flaw was found in Ansible Engine, all versions 2.7.x, 2.8.x and 2.9.x prior to 2.7.17, 2.8.9 and 2.9.6 respectively, when using ansible_facts as a subkey of itself and promoting it to a variable when inject is enabled, overwriting the ansible_facts after the clean. An attacker could take advantage of this by altering the ansible_facts, such as ansible_hosts, users and any other key data which would lead into privilege escalation or code injection.(CVE-2020-10684)
A flaw was found in the solaris_zone module from the Ansible Community modules. When setting the name for the zone on the Solaris host, the zone name is checked by listing the process with the 'ps' bare command on the remote machine. An attacker could take advantage of this flaw by crafting the name of the zone and executing arbitrary commands in the remote host. Ansible Engine 2.7.15, 2.8.7, and 2.9.2 as well as previous versions are affected.(CVE-2019-14904)
A flaw was found in Ansible 2.7.17 and prior, 2.8.9 and prior, and 2.9.6 and prior when using the Extract-Zip function from the win_unzip module as the extracted file(s) are not checked if they belong to the destination folder. An attacker could take advantage of this flaw by crafting an archive anywhere in the file system, using a path traversal. This issue is fixed in 2.10.(CVE-2020-1737)
A flaw was found in ansible. Credentials, such as secrets, are being disclosed in console log by default and not protected by no_log feature when using those modules. An attacker can take advantage of this information to steal those credentials. The highest threat from this vulnerability is to data confidentiality. Versions before ansible 2.9.18 are affected.(CVE-2021-20191)
A flaw was found in the use of insufficiently random values in Ansible. Two random password lookups of the same length generate the equal value as the template caching action for the same file since no re-evaluation happens. The highest threat from this vulnerability would be that all passwords are exposed at once for the file. This flaw affects Ansible Engine versions before 2.9.6.(CVE-2020-10729)
A security flaw was found in Ansible Engine, all Ansible 2.7.x versions prior to 2.7.17, all Ansible 2.8.x versions prior to 2.8.11 and all Ansible 2.9.x versions prior to 2.9.7, when managing kubernetes using the k8s module. Sensitive parameters such as passwords and tokens are passed to kubectl from the command line, not using an environment variable or an input configuration file. This will disclose passwords and tokens from process list and no_log directive from debug module would not have any effect making these secrets being disclosed on stdout and log files.(CVE-2020-1753)
An update for ansible is now available for openEuler-20.03-LTS-SP1.
openEuler Security has rated this update as having a security impact of high. A Common Vunlnerability Scoring System(CVSS)base score,which gives a detailed severity rating, is available for each vulnerability from the CVElink(s) in the References section.
High
ansible
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1950
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2020-1739
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2020-1740
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2020-1735
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2020-10684
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2019-14904
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2020-1737
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2021-20191
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2020-10729
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2020-1753
https://nvd.nist.gov/vuln/detail/CVE-2020-1739
https://nvd.nist.gov/vuln/detail/CVE-2020-1740
https://nvd.nist.gov/vuln/detail/CVE-2020-1735
https://nvd.nist.gov/vuln/detail/CVE-2020-10684
https://nvd.nist.gov/vuln/detail/CVE-2019-14904
https://nvd.nist.gov/vuln/detail/CVE-2020-1737
https://nvd.nist.gov/vuln/detail/CVE-2021-20191
https://nvd.nist.gov/vuln/detail/CVE-2020-10729
https://nvd.nist.gov/vuln/detail/CVE-2020-1753
openEuler-20.03-LTS-SP1
ansible-2.5.5-6.oe1.noarch.rpm
ansible-help-2.5.5-6.oe1.noarch.rpm
ansible-2.5.5-6.oe1.src.rpm
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.
2022-09-23
CVE-2020-1739
openEuler-20.03-LTS-SP1
Low
3.9
AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
ansible security update
2022-09-23
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1950
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.
2022-09-23
CVE-2020-1740
openEuler-20.03-LTS-SP1
Medium
4.7
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
ansible security update
2022-09-23
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1950
A flaw was found in the Ansible Engine when the fetch module is used. An attacker could intercept the module, inject a new path, and then choose a new destination path on the controller node. All versions in 2.7.x, 2.8.x and 2.9.x branches are believed to be vulnerable.
2022-09-23
CVE-2020-1735
openEuler-20.03-LTS-SP1
Medium
4.6
AV:L/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N
ansible security update
2022-09-23
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1950
A flaw was found in Ansible Engine, all versions 2.7.x, 2.8.x and 2.9.x prior to 2.7.17, 2.8.9 and 2.9.6 respectively, when using ansible_facts as a subkey of itself and promoting it to a variable when inject is enabled, overwriting the ansible_facts after the clean. An attacker could take advantage of this by altering the ansible_facts, such as ansible_hosts, users and any other key data which would lead into privilege escalation or code injection.
2022-09-23
CVE-2020-10684
openEuler-20.03-LTS-SP1
High
7.1
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
ansible security update
2022-09-23
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1950
A flaw was found in the solaris_zone module from the Ansible Community modules. When setting the name for the zone on the Solaris host, the zone name is checked by listing the process with the ps bare command on the remote machine. An attacker could take advantage of this flaw by crafting the name of the zone and executing arbitrary commands in the remote host. Ansible Engine 2.7.15, 2.8.7, and 2.9.2 as well as previous versions are affected.
2022-09-23
CVE-2019-14904
openEuler-20.03-LTS-SP1
High
7.3
AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:L
ansible security update
2022-09-23
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1950
A flaw was found in Ansible 2.7.17 and prior, 2.8.9 and prior, and 2.9.6 and prior when using the Extract-Zip function from the win_unzip module as the extracted file(s) are not checked if they belong to the destination folder. An attacker could take advantage of this flaw by crafting an archive anywhere in the file system, using a path traversal. This issue is fixed in 2.10.
2022-09-23
CVE-2020-1737
openEuler-20.03-LTS-SP1
High
7.8
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
ansible security update
2022-09-23
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1950
A flaw was found in ansible. Credentials, such as secrets, are being disclosed in console log by default and not protected by no_log feature when using those modules. An attacker can take advantage of this information to steal those credentials. The highest threat from this vulnerability is to data confidentiality. Versions before ansible 2.9.18 are affected.
2022-09-23
CVE-2021-20191
openEuler-20.03-LTS-SP1
Medium
5.5
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
ansible security update
2022-09-23
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1950
A flaw was found in the use of insufficiently random values in Ansible. Two random password lookups of the same length generate the equal value as the template caching action for the same file since no re-evaluation happens. The highest threat from this vulnerability would be that all passwords are exposed at once for the file. This flaw affects Ansible Engine versions before 2.9.6.
2022-09-23
CVE-2020-10729
openEuler-20.03-LTS-SP1
Medium
5.5
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
ansible security update
2022-09-23
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1950
A security flaw was found in Ansible Engine, all Ansible 2.7.x versions prior to 2.7.17, all Ansible 2.8.x versions prior to 2.8.11 and all Ansible 2.9.x versions prior to 2.9.7, when managing kubernetes using the k8s module. Sensitive parameters such as passwords and tokens are passed to kubectl from the command line, not using an environment variable or an input configuration file. This will disclose passwords and tokens from process list and no_log directive from debug module would not have any effect making these secrets being disclosed on stdout and log files.
2022-09-23
CVE-2020-1753
openEuler-20.03-LTS-SP1
Medium
5.5
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
ansible security update
2022-09-23
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1950