title: Ansible-core: possible information leak in tasks that ignore ansible_no_log configuration
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.
problem types: Improper Output Neutralization for Logs
affected:
{
product: ansible
vendor: n/a
versions:
version: 2.14.4, status: unaffected
version: 2.15.9, status: unaffected
version: 2.16.3, status: unaffected
}
{
vendor: Red Hat
product: Red Hat Ansible Automation Platform 2.4 for RHEL 8
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: ansible-core
defaultStatus: affected
versions:
version: 1:2.15.9-1.el8ap, lessThan: *, versionType: rpm, status: unaffected
cpe: [cpe:/a:redhat:ansible_automation_platform_inside:2.4::el9, cpe:/a:redhat:ansible_automation_platform_inside:2.4::el8, cpe:/a:redhat:ansible_automation_platform_developer:2.4::el8, cpe:/a:redhat:ansible_automation_platform:2.4::el8, cpe:/a:redhat:ansible_automation_platform_developer:2.4::el9, cpe:/a:redhat:ansible_automation_platform:2.4::el9]
}
{
vendor: Red Hat
product: Red Hat Ansible Automation Platform 2.4 for RHEL 9
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: ansible-core
defaultStatus: affected
versions:
version: 1:2.15.9-1.el9ap, lessThan: *, versionType: rpm, status: unaffected
cpe: [cpe:/a:redhat:ansible_automation_platform_inside:2.4::el9, cpe:/a:redhat:ansible_automation_platform_inside:2.4::el8, cpe:/a:redhat:ansible_automation_platform_developer:2.4::el8, cpe:/a:redhat:ansible_automation_platform:2.4::el8, cpe:/a:redhat:ansible_automation_platform_developer:2.4::el9, cpe:/a:redhat:ansible_automation_platform:2.4::el9]
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 8
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: ansible-core
defaultStatus: affected
cpes: cpe:/o:redhat:enterprise_linux:8
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 9
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: ansible-core
defaultStatus: affected
cpes: cpe:/o:redhat:enterprise_linux:9
}
{
product: Fedora 38
vendor: Fedora
collectionURL: https://packages.fedoraproject.org/
packageName: ansible
defaultStatus: unaffected
}
{
product: Fedora 39
vendor: Fedora
collectionURL: https://packages.fedoraproject.org/
packageName: ansible
defaultStatus: unaffected
}
{
product: Extra Packages for Enterprise Linux 8
vendor: Fedora
collectionURL: https://packages.fedoraproject.org/
packageName: ansible
defaultStatus: unaffected
}
{
product: Fedora 39
vendor: Fedora
collectionURL: https://packages.fedoraproject.org/
packageName: ansible-core
defaultStatus: affected
}
metrics:
other: [
content: {'value': 'Moderate', 'namespace': 'https://access.redhat.com/security/updates/classification/'}
type: Red Hat severity rating
]
workarounds: Explicitly setting 'no_log' within the playbook will prevent the output from containing potentially sensitive information.