Debian Security Advisory
DLA-2535-1 ansible -- LTS security update
- Date Reported:
- 27 Jan 2021
- Affected Packages:
- 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.
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
unsafeand is not evaluated.
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.
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.
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
psbare 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 184.108.40.206-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