Untrusted Search Path Affecting ansible package, versions <0:2.5.6-1.el7ae


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.08% (36th 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-RHEL7-ANSIBLE-5354436
  • published26 Mar 2023
  • disclosed29 Jun 2018

Introduced: 29 Jun 2018

CVE-2018-10875  (opens in a new tab)
CWE-426  (opens in a new tab)

How to fix?

Upgrade RHEL:7 ansible to version 0:2.5.6-1.el7ae or higher.
This issue was patched in RHSA-2018:2150.

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:7 relevant fixed versions and status.

A flaw was found in ansible. ansible.cfg is read from the current working directory which can be altered to make it point to a plugin or a module path under the control of an attacker, thus allowing the attacker to execute arbitrary code.

CVSS Scores

version 3.1