{"id":"CVE-2016-9587","published":"2018-04-24T16:00:00Z","modified":"2024-08-06T02:59:02Z","title":"Ansible before versions 2.1.4, 2.2.1 is vulnerable to an improper input validation in Ansible's handling of data sent…","vendor":"unspecified","product":"Ansible","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.6,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.1714,"percentile":0.97089,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2017:0515","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://www.exploit-db.com/exploits/41013/","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"https://security.gentoo.org/glsa/201701-77","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://access.redhat.com/errata/RHSA-2017:1685","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.securityfocus.com/bid/95352","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://access.redhat.com/errata/RHSA-2017:0448","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-9587","tags":["x_refsource_CONFIRM"]},{"url":"http://rhn.redhat.com/errata/RHSA-2017-0195.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://rhn.redhat.com/errata/RHSA-2017-0260.html","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":29.0,"factors":[{"name":"EPSS percentile","points":19.42},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.62}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2017-01-09"},"first":{"date":"2017-01-09","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/41013"},"provenance":"source"},"vendorSlug":"unspecified","affectedVersions":[{"vendor":"unspecified","product":"Ansible","versions":["ansible 2.1.4","ansible 2.2.1"]}],"affected":[{"ecosystem":"PyPI","package":"ansible","vulnerableRanges":["<2.1.4.0",">=2.2.0.0, <2.2.1.0"],"patched":["2.1.4.0","2.2.1.0"],"from":["GHSA-m956-frf4-m2wr","PYSEC-2018-39"],"provenance":"source"}],"euvd":{"id":"EUVD-2018-0012","exploited":false,"provenance":"source"},"exploits":[{"id":41013,"url":"https://www.exploit-db.com/exploits/41013","title":"Ansible 2.1.4/2.2.1 - Command Execution","date":"2017-01-09","verified":false,"provenance":"source"}],"exploitRefs":["https://www.exploit-db.com/exploits/41013/","https://www.exploit-db.com/exploits/41013"],"lineage":{"familyId":"fam-unspecified-ansible-cve-2016-9587","packageHistory":[{"cve":"CVE-2016-3096","published":"2016-06-03","fixed":"2.0.2.0","kev":false,"link":{"from":"CVE-2016-3096","to":"CVE-2016-9587","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:ansible","fromFixed":"2.0.2.0","toFixed":"2.1.4.0","daysApart":690}]}},{"cve":"CVE-2016-8614","published":"2018-07-31","fixed":"2.2.0.0","kev":false},{"cve":"CVE-2016-8628","published":"2018-07-31","fixed":"2.2.0.0","kev":false},{"cve":"CVE-2016-8647","published":"2018-07-26","fixed":"2.2.1.0","kev":false},{"cve":"CVE-2016-9587","published":"2018-04-24","fixed":"2.2.1.0","kev":false},{"cve":"CVE-2017-7466","published":"2018-06-22","fixed":"2.3.0.0","kev":false,"link":{"from":"CVE-2016-9587","to":"CVE-2017-7466","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:ansible","fromFixed":"2.2.1.0","toFixed":"2.2.3.0","daysApart":59},{"kind":"similar","provenance":"machine","score":0.98,"basis":"same package + description similarity"}]}},{"cve":"CVE-2017-7481","published":"2018-07-19","fixed":"2.4.0.0","kev":false,"link":{"from":"CVE-2016-9587","to":"CVE-2017-7481","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:ansible","fromFixed":"2.1.4.0","toFixed":"2.1.6.0","daysApart":86}]}},{"cve":"CVE-2017-7550","published":"2017-11-21","fixed":"2.4.1.0","kev":false}],"package":"PyPI:ansible"}}