• 公告ID (KylinSec-SA-2021-1682)

摘要:

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 &amp;&amp; mkdir -p <dir&gt;"; 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&gt;/cmdline'.

安全等级: Low

公告ID: KylinSec-SA-2021-1682

发布日期: 2021年9月23日

关联CVE: CVE-2020-1733  

  • 详细介绍

1. 漏洞描述

   

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 &amp;&amp; mkdir -p <dir&gt;"; 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&gt;/cmdline'.

2. 影响范围

cve名称 产品 组件 是否受影响
CVE-2020-1733 KY3.4-4A ansible Unaffected

3. 影响组件

    无

4. 修复版本

    无

5. 修复方法

   无

6. 下载链接

    无
上一篇:KylinSec-SA-2021-1681 下一篇:KylinSec-SA-2021-1683