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

EcosystemPackageFixed inAdvisory
Debian:12ansible2.9.7+dfsg-1DEBIAN-CVE-2020-10691
Debian:13ansible2.9.7+dfsg-1DEBIAN-CVE-2020-10691
Debian:14ansible2.9.7+dfsg-1DEBIAN-CVE-2020-10691
PyPIansible2.9.7GHSA-3c67-gc48-983w
PyPIansible2.9.7PYSEC-2020-2

Affected products (as reported)

VendorProductVersions
Red Hat Ansible all ansible-engine versions 2.9.x prior to 2.9.7

Weakness: CWE-22 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L

References