Skip to content
Heist/ feed
Back to feed
MediumFix available

ansible — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2020-10729

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.

Products
ansible
Affected versions
Not specified
Fixed versions
2.9.6+dfsg-1
CVEs
CVE-2020-10729
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 12:28 UTC · Revision 1

Source evidence

DEBIAN-CVE-2020-10729

core-osv · Original source

Published 27 May 2021, 19:15 UTC

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.

osv:DEBIAN-CVE-2020-10729

ansible

Fixed versions: 2.9.6+dfsg-1

ansible

Fixed versions: 2.9.6+dfsg-1

ansible

Fixed versions: 2.9.6+dfsg-1

Complete source record
{
  "id": "e5679292380211fa38d5143da7fb947a1b5f3b1f6cef17687bf5b5ff2c5e74d5",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2020-10729",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2020-10729",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2020-10729",
    "products": [
      {
        "name": {
          "value": "ansible",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.9.6+dfsg-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "ansible",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.9.6+dfsg-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "ansible",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.9.6+dfsg-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2020-10729",
      "aliases": [
        "DEBIAN-CVE-2020-10729"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.9.6+dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "ansible",
            "purl": "pkg:deb/debian/ansible?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-10729.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.9.6+dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "ansible",
            "purl": "pkg:deb/debian/ansible?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-10729.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.9.6+dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "ansible",
            "purl": "pkg:deb/debian/ansible?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-10729.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-26T12:00:16.607346943Z",
      "provider": "osv",
      "upstream": [
        "CVE-2020-10729"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2020-10729"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2020-10729",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 451050,
  "published_at": "2021-05-27T19:15:07.88+00:00"
}