Improper Input Validation Affecting ansible-tower-setup package, versions <0:3.1.5-1.el7at


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.09% (40th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL7-ANSIBLETOWERSETUP-5396848
  • published1 Apr 2023
  • disclosed19 Sept 2017

Introduced: 19 Sep 2017

CVE-2017-12148  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade RHEL:7 ansible-tower-setup to version 0:3.1.5-1.el7at or higher.
This issue was patched in RHSA-2017:3005.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ansible-tower-setup package and not the ansible-tower-setup package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

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.