Debian Security Advisory
DLA-2535-1 ansible -- LTS security update
- Date Reported:
- 27 Jan 2021
- Affected Packages:
- ansible
- Vulnerable:
- Yes
- Security database references:
- In the Debian bugtracking system: Bug 862666, Bug 930065, Bug 942188.
In Mitre's CVE dictionary: CVE-2017-7481, CVE-2019-10156, CVE-2019-14846, CVE-2019-14904. - More information:
-
Several security vulnerabilities were discovered in ansible, a configuration management, deployment, and task execution system.
- CVE-2017-7481
Ansible fails to properly mark lookup-plugin results as unsafe. If an attacker could control the results of lookup() calls, they could inject Unicode strings to be parsed by the jinja2 templating system, resulting in code execution. By default, the jinja2 templating language is now marked as
unsafe
and is not evaluated. - CVE-2019-10156
A flaw was discovered in the way Ansible templating was implemented, causing the possibility of information disclosure through unexpected variable substitution. By taking advantage of unintended variable substitution the content of any variable may be disclosed.
- CVE-2019-14846
Ansible was logging at the DEBUG level which lead to a disclosure of credentials if a plugin used a library that logged credentials at the DEBUG level. This flaw does not affect Ansible modules, as those are executed in a separate process.
- CVE-2019-14904
A flaw was found in the solaris_zone module from the Ansible Community modules. When setting the name for the zone on the Solaris host, the zone name is checked by listing the process with the
ps
bare command on the remote machine. An attacker could take advantage of this flaw by crafting the name of the zone and executing arbitrary commands in the remote host.
For Debian 9 stretch, these problems have been fixed in version 2.2.1.0-2+deb9u2.
We recommend that you upgrade your ansible packages.
For the detailed security status of ansible please refer to its security tracker page at: https://security-tracker.debian.org/tracker/ansible
Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS
- CVE-2017-7481