Arbitrary Code Injection Affecting ansible package, versions <2.9.7+dfsg-1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.35% (28th 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-DEBIAN13-ANSIBLE-5674775
  • published24 Mar 2020
  • disclosed24 Mar 2020

Introduced: 24 Mar 2020

CVE-2020-10684  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade Debian:13 ansible to version 2.9.7+dfsg-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 Debian. See How to fix? for Debian:13 relevant fixed versions and status.

A flaw was found in Ansible Engine, all versions 2.7.x, 2.8.x and 2.9.x prior to 2.7.17, 2.8.9 and 2.9.6 respectively, when using ansible_facts as a subkey of itself and promoting it to a variable when inject is enabled, overwriting the ansible_facts after the clean. An attacker could take advantage of this by altering the ansible_facts, such as ansible_hosts, users and any other key data which would lead into privilege escalation or code injection.

CVSS Base Scores

version 3.1