GHSA-3c67-gc48-983w
Path Traversal in Ansible
At a glance
- Published
- Updated
- CVE
- CVE-2020-10691
- Aliases
- PYSEC-2020-2
- CVSS_V3
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L
- CVSS_V4
- CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
Description
An archive traversal flaw was found in all ansible-engine versions 2.9.x prior to 2.9.7, when running `ansible-galaxy collection` install. When extracting a collection .tar.gz file, the directory is created without sanitizing the filename. An attacker could take advantage to overwrite any file within the system.
Affected packages
| Package | Versions |
|---|---|
| PyPI · ansible | introduced 2.9.0a1, fixed 2.9.7 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-10691 ADVISORY
- https://github.com/ansible/ansible/pull/68596 WEB
- https://github.com/ansible/ansible/commit/b2551bb6943eec078066aa3a923e0bb3ed85abe8 WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10691 WEB
- https://github.com/advisories/GHSA-3c67-gc48-983w ADVISORY
- https://github.com/ansible/ansible PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-2.yaml WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |