
Cloud Vulnerability DB
A community-led vulnerabilities database
A vulnerability was identified in Ansible related to insufficient randomization of password values (CVE-2020-10729). The flaw was discovered where two random password lookups of the same length would generate identical values due to template caching action, as no re-evaluation occurs for the same file. This vulnerability affected Ansible Engine versions prior to 2.9.6 (Debian Security, Ubuntu Security).
The vulnerability stems from a template caching mechanism where consecutive password lookups with identical length parameters would return the same value instead of generating unique random passwords. This behavior occurs specifically when using the password lookup function within the same task. The issue manifests when using '/dev/null' as a path, which should theoretically generate a new random password each time according to Ansible's documentation (GitHub Issue).
The primary impact of this vulnerability is the potential exposure of multiple passwords simultaneously. If an attacker gains access to one password, they could potentially predict or access other passwords generated in the same context, as they would be identical. This could lead to a widespread security compromise, particularly in scenarios where multiple services or configurations rely on these generated passwords (Red Hat Bugzilla).
The vulnerability was patched in Ansible Engine version 2.9.6. Users are advised to upgrade to this version or later. For Ubuntu systems, specific package versions were released: Ubuntu 20.04 (ansible - 2.9.6+dfsg-1ubuntu0.1~esm3), Ubuntu 18.04 (ansible - 2.5.1+dfsg-1ubuntu0.1+esm5), and Ubuntu 16.04 (ansible - 2.0.0.2-2ubuntu1.3+esm5) (Ubuntu Security).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."