Use of Insufficiently Random Values Affecting ansible package, versions <2.5.1+dfsg-1ubuntu0.1+esm5


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.44% (37th 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 IDSNYK-UBUNTU1804-ANSIBLE-1148291
  • published22 Mar 2026
  • disclosed27 May 2021

Introduced: 27 May 2021

CVE-2020-10729  (opens in a new tab)
CWE-330  (opens in a new tab)

How to fix?

Upgrade Ubuntu:18.04 ansible to version 2.5.1+dfsg-1ubuntu0.1+esm5 or higher.

NVD Description

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

A flaw was found in the use of insufficiently random values in Ansible. Two random password lookups of the same length generate the equal value as the template caching action for the same file since no re-evaluation happens. The highest threat from this vulnerability would be that all passwords are exposed at once for the file. This flaw affects Ansible Engine versions before 2.9.6.

CVSS Base Scores

version 3.1