Arbitrary Code Execution Affecting ansible package, versions [2.9.0,2.9.3) [2.8.0,2.8.8) [,2.7.16)


0.0
high

Snyk CVSS

    Attack Complexity Low
    Privileges Required High
    Scope Changed
    Confidentiality High

    Threat Intelligence

    EPSS 0.05% (17th percentile)
Expand this section
NVD
5.6 medium
Expand this section
Red Hat
5.6 medium

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 ID SNYK-PYTHON-ANSIBLE-536473
  • published 3 Dec 2019
  • disclosed 27 Nov 2019
  • credit Abhijeet Kasurde

How to fix?

Upgrade ansible to version 2.9.3, 2.8.8, 2.7.16 or higher.

Overview

ansible is a simple IT automation system.

Affected versions of this package are vulnerable to Arbitrary Code Execution. Filenames in the nxos_file_copy module are used to perform actions to copy files to a flash or bootflash on NXOS devices. nxos_file_copy uses the remote_file parameter to determine the files destination. Malicious code could craft the filename parameter to take advantage of this by performing an OS command injection.