CVE-2020-1735
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v4.0•MEDIUM•Score: 4.6CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
- v3.1•MEDIUM•Score: 4.2CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
- v3.1•MEDIUM•Score: 4.6CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N
- v2.0•LOW•Score: 3.6AV:L/AC:L/Au:N/C:P/I:P/A:N
EPSS Trends
Current EPSS score: 0.14%• Percentile: 33%
Techniques & Countermeasures
- CWE-22•Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Affected Systems
- debian•debian_linux
10.0
- fedoraproject•fedora
30 | 31 | 32
- PyPI•ansible
≥ 2.7.0a1, < 2.7.18 | ≥ 2.8.0a1, < 2.8.12 | ≥ 2.9.0a1, < 2.9.8 | ≥ 2.9.0, < 2.9.6
- red hat•ansible
2.7.x, 2.8.x, 2.9.x
- redhat•ansible
< 2.7.17 | ≥ 2.8.0, < 2.8.11 | ≥ 2.9.0, < 2.9.7
- redhat•ansible_tower
≤ 3.3.4 | ≥ 3.3.5, ≤ 3.4.5 | ≥ 3.5.0, ≤ 3.5.5 | ≥ 3.6.0, ≤ 3.6.3
- redhat•cloudforms_management_engine
5.0
- redhat•openstack
13
References (24)
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1735
- https://github.com/ansible/ansible/issues/67793
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WQVOQD4VAIXXTVQAJKTN7NUGTJFE2PCB/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DKPA4KC3OJSUFASUYMG66HKJE7ADNGFW/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MRRYUU5ZBLPBXCYG6CFP35D64NP2UB2S/
- https://security.gentoo.org/glsa/202006-11
- https://www.debian.org/security/2021/dsa-4950
- https://nvd.nist.gov/vuln/detail/CVE-2020-1735
- https://github.com/ansible/ansible/pull/69023
- https://github.com/ansible/ansible/pull/69024
- https://github.com/ansible/ansible/pull/69025
- https://github.com/ansible/ansible/commit/18f91bbb88a84b1d3614ef41c3550da735592ac1
- https://github.com/ansible/ansible/commit/40969ff43812fabf5397f818d9e521f9b39c9c9a
- https://github.com/ansible/ansible/commit/de9a4f5474c5f5db442ae7493d6b5da7177e335d
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WQVOQD4VAIXXTVQAJKTN7NUGTJFE2PCB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MRRYUU5ZBLPBXCYG6CFP35D64NP2UB2S
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DKPA4KC3OJSUFASUYMG66HKJE7ADNGFW
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-7.yaml
- https://github.com/ansible/ansible/blob/stable-2.9/changelogs/CHANGELOG-v2.9.rst#security-fixes-7
- https://github.com/ansible/ansible
- https://github.com/advisories/GHSA-gfr2-qpxh-qj9m
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DKPA4KC3OJSUFASUYMG66HKJE7ADNGFW/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WQVOQD4VAIXXTVQAJKTN7NUGTJFE2PCB/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MRRYUU5ZBLPBXCYG6CFP35D64NP2UB2S/