{"api_version":"1","generated_at":"2026-07-23T04:22:18+00:00","cve":"CVE-2016-9587","urls":{"html":"https://cve.report/CVE-2016-9587","api":"https://cve.report/api/cve/CVE-2016-9587.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2016-9587","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2016-9587"},"summary":{"title":"CVE-2016-9587","description":"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.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2018-04-24 16:29:00","updated_at":"2023-11-07 02:37:00"},"problem_types":["CWE-20"],"metrics":[],"references":[{"url":"http://rhn.redhat.com/errata/RHSA-2017-0195.html","name":"RHSA-2017:0195","refsource":"REDHAT","tags":["Third Party Advisory"],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"-1","archivestatus":"200"},{"url":"http://rhn.redhat.com/errata/RHSA-2017-0260.html","name":"RHSA-2017:0260","refsource":"REDHAT","tags":["Third Party Advisory"],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"-1","archivestatus":"200"},{"url":"https://security.gentoo.org/glsa/201701-77","name":"GLSA-201701-77","refsource":"GENTOO","tags":["Third Party Advisory"],"title":"Ansible: Remote execution of arbitrary code (GLSA 201701-77) — Gentoo Security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://access.redhat.com/errata/RHSA-2017:1685","name":"RHSA-2017:1685","refsource":"REDHAT","tags":["Third Party Advisory"],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.exploit-db.com/exploits/41013/","name":"41013","refsource":"EXPLOIT-DB","tags":["Exploit","Third Party Advisory","VDB Entry"],"title":"Ansible 2.1.4/2.2.1 - Command Execution - Linux remote Exploit","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://access.redhat.com/errata/RHSA-2017:0448","name":"RHSA-2017:0448","refsource":"REDHAT","tags":["Third Party Advisory"],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-9587","name":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-9587","refsource":"CONFIRM","tags":["Issue Tracking","Third Party Advisory"],"title":"1404378 – (CVE-2016-9587) CVE-2016-9587 Ansible: Compromised remote hosts can lead to running commands on the Ansible controller","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/95352","name":"95352","refsource":"BID","tags":["Third Party Advisory","VDB Entry"],"title":"Ansible CVE-2016-9587 Arbitrary Command Execution Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://access.redhat.com/errata/RHSA-2017:0515","name":"RHSA-2017:0515","refsource":"REDHAT","tags":["Third Party Advisory"],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-9587","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-9587","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2016","cve_id":"9587","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"ansible","cpe5":"ansible","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2016","cve_id":"9587","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"ansible","cpe5":"ansible","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2016","cve_id":"9587","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"redhat","cpe5":"ansible","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2016","cve_id":"9587","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"redhat","cpe5":"openstack","cpe6":"11","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2016","cve_id":"9587","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"redhat","cpe5":"openstack","cpe6":"11.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2016","cve_id":"9587","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"redhat","cpe5":"openstack","cpe6":"11.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2016-9587","qid":"981352","title":"Python (pip) Security Update for ansible (GHSA-m956-frf4-m2wr)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"secalert@redhat.com","ID":"CVE-2016-9587","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Ansible","version":{"version_data":[{"version_value":"ansible 2.1.4"},{"version_value":" ansible 2.2.1"}]}}]},"vendor_name":""}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":[[{"vectorString":"6.6/CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.0"}],[{"vectorString":"6.8/AV:N/AC:M/Au:N/C:P/I:P/A:P","version":"2.0"}]]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-20"}]}]},"references":{"reference_data":[{"name":"RHSA-2017:0515","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2017:0515"},{"name":"41013","refsource":"EXPLOIT-DB","url":"https://www.exploit-db.com/exploits/41013/"},{"name":"GLSA-201701-77","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/201701-77"},{"name":"RHSA-2017:1685","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2017:1685"},{"name":"95352","refsource":"BID","url":"http://www.securityfocus.com/bid/95352"},{"name":"RHSA-2017:0448","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2017:0448"},{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-9587","refsource":"CONFIRM","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-9587"},{"name":"RHSA-2017:0195","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2017-0195.html"},{"name":"RHSA-2017:0260","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2017-0260.html"}]}},"nvd":{"publishedDate":"2018-04-24 16:29:00","lastModifiedDate":"2023-11-07 02:37:00","problem_types":["CWE-20"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.1,"baseSeverity":"HIGH"},"exploitabilityScore":2.2,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:C/I:C/A:C","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE","baseScore":9.3},"severity":"HIGH","exploitabilityScore":8.6,"impactScore":10,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:*","versionEndExcluding":"2.1.4","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:ansible:ansible:*:*:*:*:*:*:*:*","versionEndExcluding":"2.2.1","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:redhat:openstack:11:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2016","CveId":"9587","Ordinal":"96273","Title":"CVE-2016-9587","CVE":"CVE-2016-9587","Year":"2016"},"notes":[{"CveYear":"2016","CveId":"9587","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2016","CveId":"9587","Ordinal":"2","NoteData":"2018-04-24","Type":"Other","Title":"Published"},{"CveYear":"2016","CveId":"9587","Ordinal":"3","NoteData":"2018-04-25","Type":"Other","Title":"Modified"}]}}}