Description
A flaw was found in Ansible Tower's interface before 3.1.5 and 3.2.0 with SCM repositories. If a Tower project (SCM repository) definition does not have the 'delete before update' flag set, an attacker with commit access to the upstream playbook source repository could create a Trojan playbook that, when executed by Tower, modifies the checked out SCM repository to add git hooks. These git hooks could, in turn, cause arbitrary command and code execution as the user Tower runs as.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Red Hat | Ansible Tower | 3.1.5, 3.2.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat CloudForms 5 | ansible-tower-setup +1 | 3.1.5-1.el7at | RHSA-2017:3005 |
| Red Hat CloudForms 5 | cfme +2 | 5.8.2.3-1.el7cf | RHSA-2017:3005 |
| Red Hat CloudForms 5 | rabbitmq-server | 3.6.9-1.el7at | RHSA-2017:3005 |
| Red Hat CloudForms 5 | rh-ruby23-rubygem-nokogiri +1 | 1.8.1-2.el7cf | RHSA-2017:3005 |
| Red Hat CloudForms 5 | supervisor | 3.1.4-1.el7 | RHSA-2017:3005 |
Advisories 1
- RHSA-2017:3005 Red Hat Security Advisory: Red Hat CloudForms security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jul 1, 2026