Directory Traversal Affecting ansible package, versions <0:2.9.7-1.el8ae


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.3% (22nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL8-ANSIBLE-4403585
  • published26 Mar 2023
  • disclosed27 Mar 2020

Introduced: 27 Mar 2020

CVE-2020-10691  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade RHEL:8 ansible to version 0:2.9.7-1.el8ae or higher.
This issue was patched in RHSA-2020:1541.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ansible package and not the ansible package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1