CVE-2020-10691
MEDIUM 5.2CVSS 3.1Path Traversal in Ansible
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.
- Published
- 30 Apr 2020
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-3c67-gc48-983wPYSEC-2020-2
- Sources
- NVDJSONOSV GHSA-3c67-gc48-983wJSONOSV PYSEC-2020-2JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | MEDIUM 5.2 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.2 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.2 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 3.6 | AV:L/AC:L/Au:N/C:N/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | ansible_enginecpe:2.3:a:redhat:ansible_engine:*:*:*:*:*:*:*:* |
>= 2.9.0, < 2.9.7 | 2.9.7 |
| NVD | redhat | ansible_towercpe:2.3:a:redhat:ansible_tower:3.0:*:*:*:*:*:*:* |
= 3.0 | |
| OSV | PyPI | ansible | >= 2.9.0a1, < 2.9.7 | 2.9.7 |
| OSV | PyPI | ansible | >= 2.9.0, < 2.9.7 | 2.9.7 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10691 · Issue Tracking, Mitigation, Vendor Advisory, WEB, REPORT
- https://github.com/ansible/ansible/pull/68596 · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-10691 · ADVISORY
- https://github.com/ansible/ansible/commit/b2551bb6943eec078066aa3a923e0bb3ed85abe8 · 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
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 30 Apr 2020)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 30 Apr 2020)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 20 Apr 2021)