ansible: insecure temporary directory when running become_user from become directive
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Red Hat | Ansible | affected |
|
Configuration 1 [-]
|
Configuration 2 [-]
|
Configuration 3 [-]
|
| Package | CPE | Advisory | Released Date |
|---|---|---|---|
| Red Hat Ansible Engine 2.7 for RHEL 7 | |||
| ansible-0:2.7.17-1.el7ae | cpe:/a:redhat:ansible_engine:2.7::el7 | RHSA-2020:1544 | 2020-04-22T00:00:00Z |
| Red Hat Ansible Engine 2.8 for RHEL 7 | |||
| ansible-0:2.8.11-1.el7ae | cpe:/a:redhat:ansible_engine:2.8::el7 | RHSA-2020:1543 | 2020-04-22T00:00:00Z |
| Red Hat Ansible Engine 2.8 for RHEL 8 | |||
| ansible-0:2.8.11-1.el8ae | cpe:/a:redhat:ansible_engine:2.8::el8 | RHSA-2020:1543 | 2020-04-22T00:00:00Z |
| Red Hat Ansible Engine 2.9 for RHEL 7 | |||
| ansible-0:2.9.7-1.el7ae | cpe:/a:redhat:ansible_engine:2.9::el7 | RHSA-2020:1541 | 2020-04-22T00:00:00Z |
| Red Hat Ansible Engine 2.9 for RHEL 8 | |||
| ansible-0:2.9.7-1.el8ae | cpe:/a:redhat:ansible_engine:2.9::el8 | RHSA-2020:1541 | 2020-04-22T00:00:00Z |
| Red Hat Ansible Engine 2 for RHEL 7 | |||
| ansible-0:2.9.7-1.el7ae | cpe:/a:redhat:ansible_engine:2::el7 | RHSA-2020:1542 | 2020-04-22T00:00:00Z |
| Red Hat Ansible Engine 2 for RHEL 8 | |||
| ansible-0:2.9.7-1.el8ae | cpe:/a:redhat:ansible_engine:2::el8 | RHSA-2020:1542 | 2020-04-22T00:00:00Z |
No data available yet.
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-2202-1 | ansible security update |
Debian DSA |
DSA-4950-1 | ansible security update |
EUVD |
EUVD-2020-0027 | 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'. |
Github GHSA |
GHSA-g4mq-6fp5-qwcf | Ansible vulnerable to Exposure of Resource to Wrong Sphere and Insecure Temporary File |
Ubuntu USN |
USN-5315-1 | Ansible vulnerabilities |
No CVSS v4.0
No CVSS v3.0
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.400% probability within 30 days)
Key SSVC decision points have not yet been added.
No history.