Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. ansible
  4. ›
  5. CVE-2020-1746

CVE-2020-1746: Exposure of Sensitive Information to an Unauthorized Actor in ansible

April 20, 2021 (updated September 11, 2024)

A flaw was found in the Ansible Engine affecting Ansible Engine versions 2.7.x before 2.7.17 and 2.8.x before 2.8.11 and 2.9.x before 2.9.7 as well as Ansible Tower before and including versions 3.4.5 and 3.5.5 and 3.6.3 when the ldap_attr and ldap_entry community modules are used. The issue discloses the LDAP bind password to stdout or a log file if a playbook task is written using the bind_pw in the parameters field. The highest threat from this vulnerability is data confidentiality.

References

  • bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1746
  • github.com/advisories/GHSA-j2h6-73x8-22c4
  • github.com/ansible/ansible
  • github.com/ansible/ansible/commit/d41e38435b1a9e300d8011ac28f16a5add2db119
  • github.com/ansible/ansible/commit/e6199d768c1c18a4e750ec78d4ded088629baa3f
  • github.com/ansible/ansible/commit/edd1e1723cc937ec9251adf38c1199a00b0bf6d4
  • github.com/ansible/ansible/pull/67866
  • github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-13.yaml
  • nvd.nist.gov/vuln/detail/CVE-2020-1746
  • www.debian.org/security/2021/dsa-4950

Code Behaviors & Features

Detect and mitigate CVE-2020-1746 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.8.0a1 before 2.8.11, all versions starting from 2.9.0a1 before 2.9.7, all versions starting from 2.7.0a1 before 2.7.17

Fixed versions

  • 2.8.11
  • 2.9.7
  • 2.7.17

Solution

Upgrade to versions 2.7.17, 2.8.11, 2.9.7 or above.

Impact 5 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor

Source file

pypi/ansible/CVE-2020-1746.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:13 +0000.