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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
Ansible 2.1.4/2.2.1 - Command Execution
OS impact
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | โ |
Arch Fixed 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Fixed | 2.2.1.0rc5-3 |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 2.2.0.0-3 |
| sid | Fixed | 2.2.0.0-3 |
| forky | Fixed | 2.2.0.0-3 |
| bullseye | Fixed | 2.2.0.0-3 |
| bookworm | Fixed | 2.2.0.0-3 |
References
- https://security-tracker.debian.org/tracker/CVE-2016-9587
- https://www.suse.com/security/cve/CVE-2016-9587.html
- https://nvd.nist.gov/vuln/detail/CVE-2016-9587
- https://access.redhat.com/errata/RHSA-2017:0448
- https://access.redhat.com/errata/RHSA-2017:0515
- https://access.redhat.com/errata/RHSA-2017:1685
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-9587
- https://github.com/advisories/GHSA-m956-frf4-m2wr
- https://github.com/ansible/ansible
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-39.yaml
- https://security.gentoo.org/glsa/201701-77
- https://web.archive.org/web/20170115210655/http://www.securityfocus.com/bid/95352
- https://www.exploit-db.com/exploits/41013
- http://rhn.redhat.com/errata/RHSA-2017-0195.html
- http://rhn.redhat.com/errata/RHSA-2017-0260.html
- https://www.exploit-db.com/exploits/41013/
- http://www.securityfocus.com/bid/95352
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.