Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-g4mq-6fp5-qwcf

Опубликовано: 20 апр. 2021
Источник: github
Github: Прошло ревью
CVSS4: 1
CVSS3: 5

Описание

Ansible vulnerable to Exposure of Resource to Wrong Sphere and Insecure Temporary File

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

"; 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//cmdline'.

Пакеты

Наименование

ansible

pip
Затронутые версииВерсия исправления

< 2.7.17

2.7.17

Наименование

ansible

pip
Затронутые версииВерсия исправления

>= 2.8.0a1, < 2.8.11

2.8.11

Наименование

ansible

pip
Затронутые версииВерсия исправления

>= 2.9.0a1, < 2.9.7

2.9.7

EPSS

Процентиль: 8%
0.00029
Низкий

1 Low

CVSS4

5 Medium

CVSS3

Дефекты

CWE-362
CWE-377
CWE-668

Связанные уязвимости

CVSS3: 5
ubuntu
почти 6 лет назад

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'.

CVSS3: 5
redhat
почти 6 лет назад

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'.

CVSS3: 5
nvd
почти 6 лет назад

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'.

CVSS3: 5
debian
почти 6 лет назад

A race condition flaw was found in Ansible Engine 2.7.17 and prior, 2. ...

CVSS3: 5
fstec
почти 6 лет назад

Уязвимость системы управления конфигурациями Ansible, связанная с небезопасными временными файлами, позволяющая нарушителю получить доступ к конфиденциальным данным, нарушить их целостность, а также вызвать отказ в обслуживании

EPSS

Процентиль: 8%
0.00029
Низкий

1 Low

CVSS4

5 Medium

CVSS3

Дефекты

CWE-362
CWE-377
CWE-668