GitHub Advisoryadvisory · PyPI
GHSA-gfr2-qpxh-qj9m Path Traversal in Ansible
MEDIUM
Official page ↗
- Aliases
- CVE-2020-1735
- Ecosystem
- PyPI
- Packages
- ansible
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-22
- Reviewed
- 2021-04-05
Affected packages
• PyPI ansible: >= 2.7.0a1, < 2.7.18 → fixed in 2.7.18
• PyPI ansible: >= 2.8.0a1, < 2.8.12 → fixed in 2.8.12
• PyPI ansible: >= 2.9.0a1, < 2.9.8 → fixed in 2.9.8
Description
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.
Related
Alias · CVE (1)
- CVE-2020-1735 A flaw was found in the Ansible Engine when the fetch module is used. vulnerability
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-1735 advisory
- https://github.com/ansible/ansible/issues/67793 web
- https://github.com/ansible/ansible/pull/69023 web
- https://github.com/ansible/ansible/pull/69024 web
- https://github.com/ansible/ansible/pull/69025 web
- https://github.com/ansible/ansible/commit/18f91bbb88a84b1d3614ef41c3550da735592ac1 web
- https://github.com/ansible/ansible/commit/40969ff43812fabf5397f818d9e521f9b39c9c9a web
- https://github.com/ansible/ansible/commit/de9a4f5474c5f5db442ae7493d6b5da7177e335d web
- https://security.gentoo.org/glsa/202006-11 web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/WQVOQD4VAIXXTVQAJKTN7NUGTJFE2PCB web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/MRRYUU5ZBLPBXCYG6CFP35D64NP2UB2S web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/DKPA4KC3OJSUFASUYMG66HKJE7ADNGFW web
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-7.yaml web
- https://github.com/ansible/ansible/blob/stable-2.9/changelogs/CHANGELOG-v2.9.rst#security-fixes-7 web
- https://github.com/ansible/ansible package
- https://github.com/advisories/GHSA-gfr2-qpxh-qj9m advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1735 web