CVE-2024-0690 Ansible-core: possible information leak in tasks that ignore ansible_no_log configuration
Attackers can view sensitive decrypted secrets in Ansible task output because the no-log configuration is ignored in certain scenarios.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2024-0690?
CVE-2024-0690 is a medium-severity vulnerability in Fedoraproject Fedora, published on 6 Feb 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official 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.
Which versions are affected by CVE-2024-0690?
7 open source packages ship an affected version, including ansible-core. It affects 6 products.
| Package | Affected | Fixed in |
|---|---|---|
ansible-core PyPI | All versions | 2.14.4, 2.15.9, 2.16.3 |
ansible-core PyPI | All versions | 2.14.14 |
ansible-core PyPI | All versions | 2.14.14 |
ansible-core PyPI | From 2.15.0 | 2.15.9 |
ansible-core PyPI | From 2.15.0 | 2.15.9 |
ansible-core PyPI | From 2.16.0 | 2.16.3 |
1 more packages
ansible-core PyPI | From 2.16.0 | 2.16.3 |
Linux distribution packages (9)
ansible-core AlmaLinux:8 | All versions | 2.16.3-2.el8 |
ansible-test AlmaLinux:8 | All versions | 2.16.3-2.el8 |
ansible-core AlmaLinux:9 | All versions | 1:2.14.14-1.el9 |
ansible-test AlmaLinux:9 | All versions | 1:2.14.14-1.el9 |
ansible-core Red Hat:enterprise_linux:8::appstream | All versions | 0:2.16.3-2.el8 |
ansible-test Red Hat:enterprise_linux:8::appstream | All versions | 0:2.16.3-2.el8 |
ansible-core Red Hat:enterprise_linux:9::appstream | All versions | 1:2.14.14-1.el9 |
ansible-test Red Hat:enterprise_linux:9::appstream | All versions | 1:2.14.14-1.el9 |
ansible-core Rocky Linux:8 | All versions | 0:2.16.3-2.el8 |
Products include Fedoraproject Fedora, Redhat Ansible, Redhat Ansible Automation Platform, Redhat Ansible Developer, Redhat Ansible Inside, Redhat Enterprise Linux.
How do I fix CVE-2024-0690?
Upgrade ansible-core to a fixed version for your release line: 2.14.4, 2.15.9, 2.16.3 or 2.14.14.
Is CVE-2024-0690 being exploited?
There is no known exploitation of CVE-2024-0690 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as ALSA-2024:2246, ALSA-2024:3043, AZL-34190, AZL-34539, CLSA-2026-1779801095, DEBIAN-CVE-2024-0690 and 9 more.