CVE-2024-0690
Ansible-core: possible information leak in tasks that ignore ansible_no_log configuration
Also known as GHSA-h24r-m9qc-pvpg, PYSEC-2024-36
Mitigation
- Upgrade ansible-core to one of 2.14.14, 2.16.3, 2.15.9, 2.14.4 (or later in the same release line).
- Vendor workaround: Explicitly setting 'no_log' within the playbook will prevent the output from containing potentially sensitive information.
Who should check
- Projects that depend on PyPI package ansible-core (< 2.14.14)
- Anyone running ansible >= 2.14.0, < 2.14.4; >= 2.15.0, < 2.15.9; >= 2.16.0, < 2.16.3
- Anyone running Red Hat Ansible Automation Platform 2.4 for RHEL 8 all versions
- Anyone running Red Hat Ansible Automation Platform 2.4 for RHEL 9 all versions
- Anyone running Red Hat Enterprise Linux 8 all versions
- Anyone running Red Hat Enterprise Linux 9 all versions
Vulnerability facts
- Affected
- ansible-core < 2.14.14
- Fixed in
- 2.14.14, 2.16.3, 2.15.9, 2.14.4
- 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.34% chance of exploitation in 30 days (percentile 19, 2026-11-26)
- CWE
- CWE-117
- Modified
Description
An information disclosure flaw was found in ansible-core due to a failure to respect the ANSIBLE_NO_LOG configuration in some scenarios. Information is still included in the output in certain tasks, such as loop items. Depending on the task, this issue may include sensitive information, such as decrypted secret values.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| PyPI ansible-core | < 2.14.14 | 2.14.14, 2.16.3, 2.15.9, 2.14.4 | osv |
| ansible | >= 2.14.0, < 2.14.4; >= 2.15.0, < 2.15.9; >= 2.16.0, < 2.16.3 | — | cvelist |
| Red Hat Ansible Automation Platform 2.4 for RHEL 8 | all versions | — | cvelist |
| Red Hat Ansible Automation Platform 2.4 for RHEL 8 | all versions | — | cvelist |
| Red Hat Ansible Automation Platform 2.4 for RHEL 8 | all versions | — | cvelist |
| Red Hat Ansible Automation Platform 2.4 for RHEL 9 | all versions | — | cvelist |
| Red Hat Ansible Automation Platform 2.4 for RHEL 9 | all versions | — | cvelist |
| Red Hat Ansible Automation Platform 2.4 for RHEL 9 | all versions | — | cvelist |
| Red Hat Enterprise Linux 8 | all versions | — | cvelist |
| Red Hat Enterprise Linux 9 | all versions | — | cvelist |
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-2024-0690. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-0690.md Affected: ansible-core < 2.14.14 Fixed in: 2.14.14, 2.16.3, 2.15.9, 2.14.4 Steps: 1. Search this machine and project for ansible-core (PyPI), ansible, Red Hat Ansible Automation Platform 2.4 for RHEL 8, Red Hat Ansible Automation Platform 2.4 for RHEL 9, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9: 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
Patches
- https://github.com/ansible/ansible/pull/82565
- https://github.com/ansible/ansible/commit/6935c8e303440addd3871ecf8e04bde61080b032
- https://github.com/ansible/ansible/commit/78db3a3de6b40fb52d216685ae7cb903c609c3e1
- https://github.com/ansible/ansible/commit/b9a03bbf5a63459468baf8895ff74a62e9be4532
- https://github.com/ansible/ansible/commit/beb04bc2642c208447c5a936f94310528a1946b1
Other
- https://bugzilla.redhat.com/show_bug.cgi?id=2259013
- https://security.netapp.com/advisory/ntap-20250117-0001/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IZQGCRDSZL7ONCULMB6ZUHOE4L44KIBP/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VDYSWOCPZMNRU5LWKIEBW4WGWLMTU7WQ/
- https://github.com/ansible/ansible
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible-core/PYSEC-2024-36.yaml
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IZQGCRDSZL7ONCULMB6ZUHOE4L44KIBP
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VDYSWOCPZMNRU5LWKIEBW4WGWLMTU7WQ
- https://security.netapp.com/advisory/ntap-20250117-0001
FAQ
Is CVE-2024-0690 being exploited?
There is no confirmed exploitation: CVE-2024-0690 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.34% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-0690?
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-2024-0690?
ansible-core < 2.14.14.
Is there a fix for CVE-2024-0690?
Yes. Fixed in 2.14.14, 2.16.3, 2.15.9, 2.14.4. Upgrade ansible-core to one of 2.14.14, 2.16.3, 2.15.9, 2.14.4 (or later in the same release line). Vendor workaround: Explicitly setting 'no_log' within the playbook will prevent the output from containing potentially sensitive information.
How do I check if I'm affected by CVE-2024-0690?
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.