Ansible-core: possible information leak in tasks that ignore ansible_no_log configuration
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | ansible | 2.14.0 to before 2.14.4; 2.15.0 to before 2.15.9; 2.16.0 to before 2.16.3 | 2.14.4, 2.15.9, 2.16.3 | Patch available | CNA |
| Red Hat | Red Hat Ansible Automation Platform 2.4 for RHEL 8 | — | 1:2.15.9-1.el8ap | Patch available | CNA |
| Red Hat | Red Hat Ansible Automation Platform 2.4 for RHEL 8 | — | 1:2.15.9-1.el8ap | Patch available | CNA |
| Red Hat | Red Hat Ansible Automation Platform 2.4 for RHEL 8 | — | 1:2.15.9-1.el8ap | Patch available | CNA |
| Red Hat | Red Hat Ansible Automation Platform 2.4 for RHEL 9 | — | 1:2.15.9-1.el9ap | Patch available | CNA |
| Red Hat | Red Hat Ansible Automation Platform 2.4 for RHEL 9 | — | 1:2.15.9-1.el9ap | Patch available | CNA |
| Red Hat | Red Hat Ansible Automation Platform 2.4 for RHEL 9 | — | 1:2.15.9-1.el9ap | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 8 | — | 2.16.3-2.el8 | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 9 | — | 1:2.14.14-1.el9 | Patch available | CNA |
| — | ansible-core (PyPI) | before 2.14.14 | 2.14.14 | Patch available | GHSA-h24r-m9qc-pvpg |
| — | ansible-core (PyPI) | 2.16.0 to before 2.16.3 | 2.16.3 | Patch available | GHSA-h24r-m9qc-pvpg |
| — | ansible-core (PyPI) | 2.15.0 to before 2.15.9 | 2.15.9 | Patch available | GHSA-h24r-m9qc-pvpg |
- ansible Vendor— Affected 2.14.0 to before 2.14.4; 2.15.0 to before 2.15.9; 2.16.0 to before 2.16.3 Fixed in 2.14.4, 2.15.9, 2.16.3 Patch available CNA
- Red Hat Ansible Automation Platform 2.4 for RHEL 8 VendorRed Hat Affected — Fixed in 1:2.15.9-1.el8ap Patch available CNA
- Red Hat Ansible Automation Platform 2.4 for RHEL 8 VendorRed Hat Affected — Fixed in 1:2.15.9-1.el8ap Patch available CNA
- Red Hat Ansible Automation Platform 2.4 for RHEL 8 VendorRed Hat Affected — Fixed in 1:2.15.9-1.el8ap Patch available CNA
- Red Hat Ansible Automation Platform 2.4 for RHEL 9 VendorRed Hat Affected — Fixed in 1:2.15.9-1.el9ap Patch available CNA
- Red Hat Ansible Automation Platform 2.4 for RHEL 9 VendorRed Hat Affected — Fixed in 1:2.15.9-1.el9ap Patch available CNA
- Red Hat Ansible Automation Platform 2.4 for RHEL 9 VendorRed Hat Affected — Fixed in 1:2.15.9-1.el9ap Patch available CNA
- Red Hat Enterprise Linux 8 VendorRed Hat Affected — Fixed in 2.16.3-2.el8 Patch available CNA
- Red Hat Enterprise Linux 9 VendorRed Hat Affected — Fixed in 1:2.14.14-1.el9 Patch available CNA
- ansible-core (PyPI) Vendor— Affected before 2.14.14 Fixed in 2.14.14 Patch available GHSA-h24r-m9qc-pvpg
- ansible-core (PyPI) Vendor— Affected 2.16.0 to before 2.16.3 Fixed in 2.16.3 Patch available GHSA-h24r-m9qc-pvpg
- ansible-core (PyPI) Vendor— Affected 2.15.0 to before 2.15.9 Fixed in 2.15.9 Patch available GHSA-h24r-m9qc-pvpg
CPE configurations NVD · 10
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:* | before 2.14.4; 2.15.0 to before 2.15.9; 2.16.0 to before 2.16.3 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:ansible_automation_platform:2.4:*:*:*:*:*:*:* | 2.4 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:ansible_developer:1.1:*:*:*:*:*:*:* | 1.1 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:ansible_inside:1.2:*:*:*:*:*:*:* | 1.2 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* | 8.0 | Running on | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* | 9.0 | Running on | Red Hat |
| cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* | 38 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:* | 39 | Vulnerable | Fedoraproject |
- cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:* Versions before 2.14.4; 2.15.0 to before 2.15.9; 2.16.0 to before 2.16.3 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:ansible_automation_platform:2.4:*:*:*:*:*:*:* Versions 2.4 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:ansible_developer:1.1:*:*:*:*:*:*:* Versions 1.1 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:ansible_inside:1.2:*:*:*:*:*:*:* Versions 1.2 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Running on ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Running on ·Red Hat
- cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* Versions 38 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:* Versions 39 Vulnerable ·Fedoraproject
Remediation
- Fix · CNA ansible Fixed in 2.14.4, 2.15.9, 2.16.3
- Fix · GHSA-h24r-m9qc-pvpg ansible-core (PyPI) Fixed in 2.14.14 Advisory →
- Fix · GHSA-h24r-m9qc-pvpg ansible-core (PyPI) Fixed in 2.16.3 Advisory →
- Fix · GHSA-h24r-m9qc-pvpg ansible-core (PyPI) Fixed in 2.15.9 Advisory →
Red Hat 3 advisories
- RHSA-2024:3043 Released 2024-05-22 · Red Hat rating Moderateansible-core bug fix, enhancement, and security update
- Red Hat Enterprise Linux AppStream (v. 8) ansible-core-2.16.3-2.el8, ansible-test-2.16.3-2.el8
- RHSA-2024:2246 Released 2024-04-30 · Red Hat rating Moderateansible-core bug fix, enhancement, and security update
- Red Hat Enterprise Linux AppStream (v. 9) ansible-core-1:2.14.14-1.el9, ansible-test-1:2.14.14-1.el9
- RHSA-2024:0733 Released 2024-02-07 · Red Hat rating ModerateRed Hat Ansible Automation Platform 2.4 Product Security and Bug Fix Update
- Red Hat Ansible Automation Platform 2.4 for RHEL 8 ansible-core-1:2.15.9-1.el8ap, automation-controller-venv-tower-4.5.1-1.el8ap
- Red Hat Ansible Automation Platform 2.4 for RHEL 9 ansible-core-1:2.15.9-1.el9ap, automation-controller-venv-tower-4.5.1-1.el9ap
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Ansible Automation Platform 2.4 for RHEL 8 | Fixed | RHSA-2024:0733 |
| Red Hat Ansible Automation Platform 2.4 for RHEL 9 | Fixed | RHSA-2024:0733 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2024:3043 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2024:2246 |
Not affected: 2 products
- Red Hat Ansible Automation Platform 2.4 for RHEL 8
- Red Hat Ansible Automation Platform 2.4 for RHEL 9
Timeline
- 2026-10-02 Threatist record created from CVE-2024-0690
- 2026-10-03 Alias added: GHSA-h24r-m9qc-pvpg
- 2026-11-05 Affected versions changed · CNA
References
Advisory 5
Other 10
- RHBZ#2259013
- 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
- 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/[email protected]/message/IZQGCRDSZL7ONCULMB6ZUHOE4L44KIBP
- https://lists.fedoraproject.org/archives/list/[email protected]/message/VDYSWOCPZMNRU5LWKIEBW4WGWLMTU7WQ
- https://security.netapp.com/advisory/ntap-20250117-0001
More Red Hat Ansible vulnerabilities
- TI-2016-07808 Improper input validation in Ansible CVSS 3.1HIGH 8.1
- TI-2014-03853 Injection in Ansible CVSS 3.1CRITICAL 9.8
- TI-2014-03839 The safe_eval function in Ansible before 1.5.4 does not properly restrict the code… CVSS 3.1CRITICAL 9.8
- TI-2017-05191 Sensitive information in log files in Red Hat ansible CVSS 3.1CRITICAL 9.8
- TI-2014-04077 Multiple argument injection vulnerabilities in Ansible before 1.6.7 allow remote… CVSS 3.1CRITICAL 9.8
- TI-2014-04076 Ansible before 1.6.7 does not prevent inventory data with "{{" and "lookup" substrings… CVSS 3.1CRITICAL 9.8
Sources
- CVE-2024-0690 · CVE Program
- CVE-2024-0690 · NVD
- FIRST EPSS
- GHSA-h24r-m9qc-pvpg · GitHub Advisory Database · CC BY 4.0
- CVE-2024-0690 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences