CVE-2016-9587: Ansible is vulnerable to an improper input validation in Ansible's handling of data sent from client systems

CVE-2016-9587 · Severity: low · CVSS 3.1 · Published 2018-04-24

Ansible before versions 2.1.4, 2.2.1 is vulnerable to an improper input validation in Ansible's handling of data sent from client systems. An attacker with control over a client system being managed by Ansible and the ability to send facts back to the Ansible server could use this flaw to execute arbitrary code on the Ansible server using the Ansible server privileges.

Technologies: ansible (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2016-9587 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2016-9587 being exploited in the wild.
How severe is CVE-2016-9587?
Low severity, with a CVSS score of 3.1, published 24 April 2018.
Which products and versions are affected?
ansible (PyPI) ECOSYSTEM:introduced=0,fixed=2.1.4.0, ECOSYSTEM:introduced=0,fixed=2.1.4.0,introduced=2.2.0.0,fixed=2.2.1.0.
Is there a fix for CVE-2016-9587?
Yes. ansible (PyPI): upgrade to 2.1.4.0, 2.2.1.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2016-9587?
Check whether you run ansible (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • ansible (PyPI): upgrade to 2.1.4.0, 2.2.1.0 or later
    pip install "ansible>=2.2.1.0"

Affected products

  • ansible (PyPI) ECOSYSTEM:introduced=0,fixed=2.1.4.0, ECOSYSTEM:introduced=0,fixed=2.1.4.0,introduced=2.2.0.0,fixed=2.2.1.0

Identifiers

  • CVE-2016-9587
  • GHSA-m956-frf4-m2wr
  • PYSEC-2018-39

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.