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

Summary

CVECVE-2024-0690
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2024-02-06 12:15:55 UTC
Updated2026-11-05 12:17:42 UTC
DescriptionAn 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.

Risk And Classification

Primary CVSS: v3.1 5.5 MEDIUM from [email protected]

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Problem Types: CWE-117 | CWE-116 | CWE-117 Improper Output Neutralization for Logs


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary5.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
3.1[email protected]Secondary5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
3.1CNACVSS5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Redhat Ansible All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Red Hat Red Hat Ansible Automation Platform 2.4 For RHEL 8 unaffected 1:2.15.9-1.el8ap * rpm Not specified
CNA Red Hat Red Hat Ansible Automation Platform 2.4 For RHEL 8 unaffected 1:2.15.9-1.el8ap * rpm Not specified
CNA Red Hat Red Hat Ansible Automation Platform 2.4 For RHEL 8 unaffected 1:2.15.9-1.el8ap * rpm Not specified
CNA Red Hat Red Hat Ansible Automation Platform 2.4 For RHEL 9 unaffected 1:2.15.9-1.el9ap * rpm Not specified
CNA Red Hat Red Hat Ansible Automation Platform 2.4 For RHEL 9 unaffected 1:2.15.9-1.el9ap * rpm Not specified
CNA Red Hat Red Hat Ansible Automation Platform 2.4 For RHEL 9 unaffected 1:2.15.9-1.el9ap * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8 unaffected 0:2.16.3-2.el8 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9 unaffected 1:2.14.14-1.el9 * rpm Not specified

References

ReferenceSourceLinkTags
bugzilla.redhat.com/show_bug.cgi af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com Issue Tracking
access.redhat.com/errata/RHSA-2024:2246 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
github.com/ansible/ansible/pull/82565 af854a3a-2127-422b-91ae-364da2661108 github.com Issue Tracking, Patch
lists.fedoraproject.org/archives/list/[email protected]/messag... af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
security.netapp.com/advisory/ntap-20250117-0001 af854a3a-2127-422b-91ae-364da2661108 security.netapp.com
access.redhat.com/security/cve/CVE-2024-0690 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Vendor Advisory
access.redhat.com/errata/RHSA-2024:3043 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
lists.fedoraproject.org/archives/list/[email protected]/messag... af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
access.redhat.com/errata/RHSA-2024:0733 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Vendor Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Additional Advisory Data

SourceTimeEvent
CNA2024-01-18T00:00:00.000ZReported to Red Hat.
CNA2024-01-18T00:00:00.000ZMade public.

Workarounds

CNA: Explicitly setting 'no_log' within the playbook will prevent the output from containing potentially sensitive information.

Legacy QID Mappings

  • 284875 Fedora Security Update for ansible (FEDORA-2024-cfa5a5cbac)
  • 285027 Fedora Security Update for ansible (FEDORA-2024-0d894565a0)
  • 357125 Amazon Linux Security Advisory for ansible-core : ALAS2023-2024-505
  • 997143 Python (Pip) Security Update for ansible-core (GHSA-h24r-m9qc-pvpg)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report