{"schemaVersion":3,"id":"CVE-2020-10729","aliases":["GHSA-r6h7-5pq2-j77h","PYSEC-2021-105","RHBA-2020:0784","UBUNTU-CVE-2020-10729","DEBIAN-CVE-2020-10729"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2021-05-27T18:46:12.000Z","modified":"2024-08-04T11:14:14.897Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":5.1,"severity":"medium","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","exploitability":3.3,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Red hat","score":5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","exploitability":3.3,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":2.1,"severity":"low","vector":"AV:L/AC:L/Au:N/C:P/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00439,"percentile":0.36801,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00439},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00439,"percentile":0.36801}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00439,"percentile":0.36801}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_ANSIBLE_ANSIBLE","name":"Ansible","source":"github","url":"https://github.com/ansible/ansible/issues/56269","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-330","name":"Use of Insufficiently Random Values","description":"The product uses insufficiently random numbers or values in a security context that depends on unpredictable numbers.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/330.html"}],"affected":[{"vendor":"debian","product":"ansible","name":"ansible","label":"ansible","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/ansible","purlType":"deb","versions":[{"text":"< 2.9.6+dfsg-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.9.6+dfsg-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"ansible","name":"ansible","label":"ansible","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/ansible","purlType":"deb","versions":[{"text":"< 2.0.0.2-2ubuntu1.3+esm5","noFixRecorded":false,"fixedIn":null},{"text":"< 2.5.1+dfsg-1ubuntu0.1+esm5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.0.0.2-2ubuntu1.3+esm5 | < 2.5.1+dfsg-1ubuntu0.1+esm5","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"10.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"10.0","eol":{"isEol":true,"eolDate":"2024-06-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"10","label":"10 (Buster)","eolFrom":"2024-06-30T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"10.13"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"PyPI","product":"ansible","name":"ansible","label":"ansible","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/ansible","purlType":"pypi","versions":[{"text":"< 2.9.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.9.6","eol":null,"hubHref":null},{"vendor":"redhat","product":"ansible_engine","name":"ansible engine","label":"ansible_engine","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.9.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.9.6","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"ansible-core","label":"Ansible-core","category":"framework"}},"hubHref":"/vendor/redhat/ansible_engine"},{"vendor":"redhat","product":"ansible","name":"ansible","label":"ansible","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/ansible","purlType":"rpm","versions":[{"text":"< 0:2.9.6-1.el7ae","noFixRecorded":false,"fixedIn":null},{"text":"< 0:2.9.6-1.el8ae","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:2.9.6-1.el7ae | < 0:2.9.6-1.el8ae","eol":null,"hubHref":null},{"vendor":"redhat","product":"ansible-test","name":"ansible-test","label":"ansible-test","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/ansible-test","purlType":"rpm","versions":[{"text":"< 0:2.9.6-1.el7ae","noFixRecorded":false,"fixedIn":null},{"text":"< 0:2.9.6-1.el8ae","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:2.9.6-1.el7ae | < 0:2.9.6-1.el8ae","eol":null,"hubHref":null}],"affectedCount":7,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1831089","label":"bugzilla.redhat.com/show_bug.cgi?id=1831089","hostname":"bugzilla.redhat.com","tags":["X Refsource MISC","WEB","REPORT","Issue Tracking","Vendor Advisory"]},{"url":"https://github.com/ansible/ansible/issues/34144","label":"github.com/ansible/ansible/issues/34144","hostname":"github.com","tags":["X Refsource MISC","WEB","REPORT","ARTICLE","Exploit","Issue Tracking","Third Party Advisory"]},{"url":"https://www.debian.org/security/2021/dsa-4950","label":"www.debian.org/security/2021/dsa-4950","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","WEB","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-10729","label":"nvd.nist.gov/vuln/detail/CVE-2020-10729","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/ansible/ansible/pull/67429","label":"github.com/ansible/ansible/pull/67429","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/ansible/ansible/commit/c520d70bf4748c8ee6718a7d0d0254051ba1c2e9","label":"github.com/ansible/ansible/commit/c520d70bf4748c8ee6718a7d0d0254051ba1c2e9","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-r6h7-5pq2-j77h","label":"github.com/advisories/GHSA-r6h7-5pq2-j77h","hostname":"github.com","tags":["Advisory"]},{"url":"https://github.com/ansible/ansible","label":"github.com/ansible/ansible","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/ansible/ansible/blob/v2.9.6/changelogs/CHANGELOG-v2.9.rst","label":"github.com/ansible/ansible/blob/v2.9.6/changelogs/CHANGELOG-v2.9.rst","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2021-105.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2021-105.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://access.redhat.com/errata/RHBA-2020:0784","label":"access.redhat.com/errata/RHBA-2020:0784","hostname":"access.redhat.com","tags":["Advisory"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2020/rhba-2020_0784.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2020/rhba-2020_0784.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2020-10729","label":"access.redhat.com/security/cve/CVE-2020-10729","hostname":"access.redhat.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-10729","label":"www.cve.org/CVERecord?id=CVE-2020-10729","hostname":"www.cve.org","tags":["Advisory","REPORT"]},{"url":"https://ubuntu.com/security/CVE-2020-10729","label":"ubuntu.com/security/CVE-2020-10729","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://github.com/ansible/ansible/pull/67429/","label":"github.com/ansible/ansible/pull/67429/","hostname":"github.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-7330-1","label":"ubuntu.com/security/notices/USN-7330-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-10729","label":"security-tracker.debian.org/tracker/CVE-2020-10729","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DSA-4950-1","OPENSUSE-SU-2022:0081-1","OPENSUSE-SU-2024:14244-1","OPENSUSE-SU-2024:14536-1","OPENSUSE-SU-2025:15605-1","OPENSUSE-SU-2025:15753-1","OPENSUSE-SU-2026:10944-1","SUSE-SU-2020:3309-1","USN-7330-1"],"duplicates":[],"related":["OPENSUSE-SU-2022:0081-1","OPENSUSE-SU-2024:14244-1","OPENSUSE-SU-2024:14536-1","OPENSUSE-SU-2025:15605-1","OPENSUSE-SU-2025:15753-1","OPENSUSE-SU-2026:10944-1","SUSE-SU-2020:3309-1","USN-7330-1"]},"timeline":[{"kind":"published","date":"2021-05-27T18:46:12.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T11:14:14.897Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":32,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T17:20:39.356Z","stale":false,"partial":false}}