{"id":"CVE-2020-1746","aliases":["CVE-2020-1746","GHSA-j2h6-73x8-22c4","PYSEC-2020-13"],"related":[],"kind":"vulnerability","state":"published","title":"Exposure of Sensitive Information to an Unauthorized Actor in ansible","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se detectó un fallo en el Ansible Engine que afectaba a las versiones 2.7.x anteriores a 2.7.17 y versiones 2.8.x anteriores a 2.8.11 y versiones 2.9.x anteriores a 2.9.7 así como en Ansible Tower versiones anteriores  e incluyendo a 3.4.5 y 3.5.5 y 3.6.3, cuando son usados los módulos de la comunidad ldap_attr y ldap_entry. El problema revela la contraseña de enlace de LDAP en stdout o un archivo de registro si una tarea del playbook se escribe usando el bind_pw en el campo parameters. La mayor amenaza de esta vulnerabilidad es la confidencialidad de los datos.","source":"nvd"}],"published":"2020-05-12T17:30:47.000Z","modified":"2026-06-17T03:02:19.270Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","score":5,"rating":"MEDIUM"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","score":5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","score":5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","score":5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:M/Au:N/C:P/I:N/A:N","score":1.9,"rating":"LOW"}],"cwes":["CWE-200"],"affected":[{"ranges":[{"version":"ansible-engine versions 2.7.x before 2.7.17","status":"affected"},{"version":"ansible-engine versions 2.8.x before 2.8.11","status":"affected"},{"version":"ansible-engine versions 2.9.x before 2.9.7","status":"affected"},{"version":"Ansible Tower <= 3.4.5","status":"affected"},{"version":"Ansible Tower <= 3.5.5","status":"affected"},{"version":"Ansible Tower <= 3.6.3","status":"affected"}],"vendor":"Red Hat","product":"ansible","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.8.0a1","status":"affected","fixed":"2.8.11"}],"ecosystem":"PyPI","package":"ansible","purl":"pkg:pypi/ansible","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.9.0a1","status":"affected","fixed":"2.9.7"}],"ecosystem":"PyPI","package":"ansible","purl":"pkg:pypi/ansible","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.7.0a1","status":"affected","fixed":"2.7.17"}],"ecosystem":"PyPI","package":"ansible","purl":"pkg:pypi/ansible","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"2.7.0","fixed":"2.7.17"},{"status":"affected","introduced":"2.8.0","fixed":"2.8.11"},{"status":"affected","introduced":"2.9.0","fixed":"2.9.7"}],"vendor":"redhat","product":"ansible_engine","cpe":"cpe:2.3:a:redhat:ansible_engine:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"3.4.0","lastAffected":"3.4.5"},{"status":"affected","introduced":"3.5.0","lastAffected":"3.5.5"},{"status":"affected","introduced":"3.6.0","lastAffected":"3.6.3"}],"vendor":"redhat","product":"ansible_tower","cpe":"cpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"10.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"2.7.0","status":"affected","fixed":"2.7.17"},{"type":"ecosystem","introduced":"2.8.0","status":"affected","fixed":"2.8.11"},{"type":"ecosystem","introduced":"2.9.0","status":"affected","fixed":"2.9.7"}],"ecosystem":"PyPI","package":"ansible","purl":"pkg:pypi/ansible","source":"pysec"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1746","tags":["issue-tracking","report","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/ansible/ansible/pull/67866","tags":["patch","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://www.debian.org/security/2021/dsa-4950","tags":["third-party-advisory","vendor-advisory","web","x-refsource-debian","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1746","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/ansible/ansible/commit/d41e38435b1a9e300d8011ac28f16a5add2db119","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/ansible/ansible/commit/e6199d768c1c18a4e750ec78d4ded088629baa3f","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/ansible/ansible/commit/edd1e1723cc937ec9251adf38c1199a00b0bf6d4","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-j2h6-73x8-22c4","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/ansible/ansible","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-13.yaml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"redhat","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-1746","url":"https://www.cve.org/CVERecord?id=CVE-2020-1746","licence":"CVE Terms of Use","modified":"2024-08-04T06:46:31.070Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-j2h6-73x8-22c4","url":"https://github.com/advisories/GHSA-j2h6-73x8-22c4","licence":"CC-BY-4.0","modified":"2024-09-11T17:01:51.876Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-1746","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1746","licence":"Public domain","modified":"2026-06-17T03:02:19.270Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2020-13","url":"https://osv.dev/vulnerability/PYSEC-2020-13","licence":"CC-BY-4.0","modified":"2023-11-08T04:02:41.516Z"}],"updatedAt":"2026-11-25T22:57:52.380Z","epss":{"score":0.00381,"percentile":0.34184,"date":"2026-12-02T12:00:21.000Z"}}