CVE-2020-1753
Insertion of Sensitive Information into Log File, Invocation of Process Using Visible Sensitive Information, and Exposure of Sensitive Information to an Unauthorized Actor in Ansible
Also known as GHSA-86hp-cj9j-33vv, PYSEC-2020-210
Mitigation
- Upgrade ansible to one of 2.7.18, 2.8.12, 2.9.7, 2.8.11 (or later in the same release line).
Who should check
- Projects that depend on PyPI package ansible (>= 2.7.0a1, < 2.7.18)
- Anyone running Red Hat Ansible all Ansible 2.7.x versions prior to 2.7.17; all Ansible 2.8.x versions prior to 2.8.11; all Ansible 2.9.x versions prior to 2.9.7
Vulnerability facts
- Affected
- ansible >= 2.7.0a1, < 2.7.18
- Fixed in
- 2.7.18, 2.8.12, 2.9.7, 2.8.11
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.0 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- EPSS
- 0.51% chance of exploitation in 30 days (percentile 36, 2026-11-26)
- CWE
- CWE-200, CWE-214, CWE-532
- Modified
Description
A security flaw was found in Ansible Engine, all Ansible 2.7.x versions prior to 2.7.17, all Ansible 2.8.x versions prior to 2.8.11 and all Ansible 2.9.x versions prior to 2.9.7, when managing kubernetes using the k8s module. Sensitive parameters such as passwords and tokens are passed to kubectl from the command line, not using an environment variable or an input configuration file. This will disclose passwords and tokens from process list and no_log directive from debug module would not have any effect making these secrets being disclosed on stdout and log files.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2020-1753. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2020-1753.md Affected: ansible >= 2.7.0a1, < 2.7.18 Fixed in: 2.7.18, 2.8.12, 2.9.7, 2.8.11 Steps: 1. Search this machine and project for ansible (PyPI), Red Hat Ansible: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1753
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WQVOQD4VAIXXTVQAJKTN7NUGTJFE2PCB/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DKPA4KC3OJSUFASUYMG66HKJE7ADNGFW/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MRRYUU5ZBLPBXCYG6CFP35D64NP2UB2S/
- https://security.gentoo.org/glsa/202006-11
- https://www.debian.org/security/2021/dsa-4950
- https://nvd.nist.gov/vuln/detail/CVE-2020-1753
- https://github.com/advisories/GHSA-86hp-cj9j-33vv
Patches
- https://github.com/ansible-collections/kubernetes/pull/51
- https://github.com/ansible/ansible/pull/68195
- https://github.com/ansible/ansible/commit/04ba05e003b268b83df6c106ba5c0f08548b1380
- https://github.com/ansible/ansible/commit/137caed836ef096945086cfe75dc11587b68db3a
- https://github.com/ansible/ansible/commit/273d8538dbe5a7b5c9954f1929d3bb00904c43f6
Other
- https://github.com/ansible-collections/kubernetes
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-210.yaml
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DKPA4KC3OJSUFASUYMG66HKJE7ADNGFW
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MRRYUU5ZBLPBXCYG6CFP35D64NP2UB2S
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WQVOQD4VAIXXTVQAJKTN7NUGTJFE2PCB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DKPA4KC3OJSUFASUYMG66HKJE7ADNGFW/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WQVOQD4VAIXXTVQAJKTN7NUGTJFE2PCB/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MRRYUU5ZBLPBXCYG6CFP35D64NP2UB2S/
FAQ
Is CVE-2020-1753 being exploited?
There is no confirmed exploitation: CVE-2020-1753 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.51% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2020-1753?
Medium: CVSS 5.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2020-1753?
ansible >= 2.7.0a1, < 2.7.18.
Is there a fix for CVE-2020-1753?
Yes. Fixed in 2.7.18, 2.8.12, 2.9.7, 2.8.11. Upgrade ansible to one of 2.7.18, 2.8.12, 2.9.7, 2.8.11 (or later in the same release line).
How do I check if I'm affected by CVE-2020-1753?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.