Bug 1335551 (CVE-2014-3498) - CVE-2014-3498 ansible: Potential untrusted template execution
Summary: CVE-2014-3498 ansible: Potential untrusted template execution
Alias: CVE-2014-3498
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Whiteboard: impact=low,public=20140630,reported=2...
Keywords: Security
Depends On:
TreeView+ depends on / blocked
Reported: 2016-05-12 13:31 UTC by Adam Mariš
Modified: 2019-06-08 21:11 UTC (History)
17 users (show)

Clone Of:
Last Closed: 2016-05-12 13:32:27 UTC

Attachments (Terms of Use)

Description Adam Mariš 2016-05-12 13:31:07 UTC
It was reported that user module in ansible before 1.6.6 is vulnerable to command execution. Ansible can get the result of remote command in variable, which may come from untrusted source of input. The content of variable isn't properly filtered and when attempting to use the variable, it will trigger a function that passes it through jinja 2 template engine that can result into arbitrary command execution. Under certain circumstances, unprivileged user on system that is being managed via ansible can execute code on the managing host under UID of running ansible process.

Upstream patch:


Comment 1 Adam Mariš 2016-05-12 13:31:30 UTC

Name: Michael Scherer (Red Hat)

Note You need to log in before you can comment on or make changes to this bug.