Improper Input Validation Affecting ansible package, versions <2.5.1+dfsg-1ubuntu0.1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.49% (40th 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-UBUNTU1804-ANSIBLE-367857
  • published11 Jul 2018
  • disclosed2 Jul 2018

Introduced: 2 Jul 2018

CVE-2018-10874  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade Ubuntu:18.04 ansible to version 2.5.1+dfsg-1ubuntu0.1 or higher.

NVD Description

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

In ansible it was found that inventory variables are loaded from current working directory when running ad-hoc command which are under attacker's control, allowing to run arbitrary code as a result.

CVSS Base Scores

version 3.1