CVE-2024-0690 Ansible-core: possible information leak in tasks that ignore ansible_no_log configuration

Medium 5.0 Published Updated

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.

Weakness: CWE-116, CWE-117

Which versions are affected by CVE-2024-0690?

7 open source packages ship an affected version, including ansible-core. It affects 6 products.

PackageAffectedFixed in
ansible-core PyPIAll versions2.14.4, 2.15.9, 2.16.3
ansible-core PyPIAll versions2.14.14
ansible-core PyPIAll versions2.14.14
ansible-core PyPIFrom 2.15.02.15.9
ansible-core PyPIFrom 2.15.02.15.9
ansible-core PyPIFrom 2.16.02.16.3
1 more packages
ansible-core PyPIFrom 2.16.02.16.3
Linux distribution packages (9)
ansible-core AlmaLinux:8All versions2.16.3-2.el8
ansible-test AlmaLinux:8All versions2.16.3-2.el8
ansible-core AlmaLinux:9All versions1:2.14.14-1.el9
ansible-test AlmaLinux:9All versions1:2.14.14-1.el9
ansible-core Red Hat:enterprise_linux:8::appstreamAll versions0:2.16.3-2.el8
ansible-test Red Hat:enterprise_linux:8::appstreamAll versions0:2.16.3-2.el8
ansible-core Red Hat:enterprise_linux:9::appstreamAll versions1:2.14.14-1.el9
ansible-test Red Hat:enterprise_linux:9::appstreamAll versions1:2.14.14-1.el9
ansible-core Rocky Linux:8All versions0: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.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as ALSA-2024:2246, ALSA-2024:3043, AZL-34190, AZL-34539, CLSA-2026-1779801095, DEBIAN-CVE-2024-0690 and 9 more.

Is CVE-2024-0690 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free