GitHub Advisoryadvisory · PyPI

GHSA-x7jh-595q-wq82 Incorrect Permission Assignment for Critical Resource in Ansible

MEDIUM Published 2022-02-09 Modified 2024-11-18 Official page ↗
Aliases
CVE-2020-1736
Ecosystem
PyPI
Packages
ansible
Severity
Moderate
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weaknesses
CWE-732
Reviewed
2021-04-05

Affected packages

• PyPI ansible: >= 2.7.0, <= 2.10.0 (no fix yet)

Description

A flaw was found in Ansible Engine when a file is moved using atomic_move primitive as the file mode cannot be specified. This sets the destination files world-readable if the destination file does not exist and if the file exists, the file could be changed to have less restrictive permissions before the move. This could lead to the disclosure of sensitive data. All versions in 2.7.x, 2.8.x and 2.9.x branches are believed to be vulnerable.

Related

Alias · CVE (1)

  • CVE-2020-1736 A flaw was found in Ansible Engine when a file is moved using atomic_move primitive as the file mode cannot be specified. vulnerability

Weakness · CWE (1)

  • CWE-732 Incorrect Permission Assignment for Critical Resource weakness

References