Vulnerability · Published Apr 30, 2020 · Assigned by redhat
CVE-2020-10691
Medium 5.2
In plain English
A medium-severity path traversal in Ansible from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 23% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)5.2Medium
Exploit odds (30 days)0.3%top 76.8% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | ansible | 2.9.7+dfsg-1 | DEBIAN-CVE-2020-10691 |
| Debian:13 | ansible | 2.9.7+dfsg-1 | DEBIAN-CVE-2020-10691 |
| Debian:14 | ansible | 2.9.7+dfsg-1 | DEBIAN-CVE-2020-10691 |
| PyPI | ansible | 2.9.7 | GHSA-3c67-gc48-983w |
| PyPI | ansible | 2.9.7 | PYSEC-2020-2 |
Affected products (as reported)
Weakness: CWE-22 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L
References
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10691 x_refsource_CONFIRM
- https://github.com/ansible/ansible/pull/68596 x_refsource_CONFIRM