Skip to content
OpenAdvisories
Medium · 5.5 CVE-2021-20180 EUVD-2022-1413GHSA-fh5v-5f35-2rv2PYSEC-2026-618

Insertion of Sensitive Information into Log File in ansible

Published Mar 16, 2022 · Updated Aug 3, 2024 · Assigned by redhat

Description

A flaw was found in ansible module where credentials are disclosed in the console log by default and not protected by the security feature when using the bitbucket_pipeline_variable module. This flaw allows an attacker to steal bitbucket_pipeline credentials. The highest threat from this vulnerability is to confidentiality.

Affected products

VendorProductAffectedFixed
— Ansible Fixed in ansible 2.9.18 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ansible 2.10.7-1 —
Debian 13 ansible 2.10.7-1 —
Debian 12 ansible 2.10.7-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 ansible No fix yet —
Ubuntu 26.04 LTS ansible No fix yet —
Ubuntu 25.10 ansible No fix yet —
Ubuntu 24.04 LTS ansible No fix yet —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS ansible No fix yet —
Ubuntu Pro 20.04 LTS ansible No fix yet —
Ubuntu Pro 18.04 LTS ansible No fix yet —
Ubuntu Pro 16.04 LTS ansible No fix yet —
Ubuntu Pro 14.04 LTS ansible No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Rhev Manager 4 ansible 2.9.18-1.el8ae RHSA-2021:2180
Red Hat Rhev Hypervisor 4 ansible 2.9.18-1.el8ae RHSA-2021:2180
Red Hat Ansible Engine 2 ansible +1 2.9.18-1.el7ae RHSA-2021:0664, RHSA-2021:0663
ReleasePackageFixed inAdvisory
SLES 15 golang-github-prometheus-node_exporter 1.3.0-150000.3.15.1 SUSE-SU-2022:3178-1
Show 14 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 golang-github-prometheus-node_exporter 1.3.0-150000.3.15.1 SUSE-SU-2022:3178-1
SLE HPC 15 golang-github-prometheus-node_exporter 1.3.0-150000.3.15.1 SUSE-SU-2022:3178-1
SUSE Package Hub 15 SP3 ansible 2.9.21-bp153.2.3.1 openSUSE-SU-2022:0081-1
SUSE OpenStack Cloud Crowbar 8 ansible 2.9.22-3.18.1 SUSE-SU-2021:2121-1
SUSE OpenStack Cloud 8 ansible 2.9.22-3.18.1 SUSE-SU-2021:2121-1
SUSE Manager Server Module 4.3 golang-github-QubitProducts-exporter_exporter 0.4.0-150000.1.15.1 SUSE-SU-2022:3178-1
SUSE Manager Server Module 4.3 python-hwdata 2.3.5-150000.3.9.1 SUSE-SU-2022:3178-1
SUSE Manager Server Module 4.2 golang-github-QubitProducts-exporter_exporter 0.4.0-150000.1.15.1 SUSE-SU-2022:3178-1
SUSE Manager Server Module 4.2 python-hwdata 2.3.5-150000.3.9.1 SUSE-SU-2022:3178-1
SUSE Manager Server Module 4.1 python-hwdata 2.3.5-150000.3.9.1 SUSE-SU-2022:3178-1
SUSE Manager Proxy Module 4.3 ansible 2.9.27-150000.1.14.1 SUSE-SU-2022:3178-1
SUSE Manager Proxy Module 4.3 golang-github-QubitProducts-exporter_exporter 0.4.0-150000.1.15.1 SUSE-SU-2022:3178-1
SUSE Manager Proxy Module 4.3 prometheus-blackbox_exporter 0.19.0-150000.1.11.1 SUSE-SU-2022:3178-1
SUSE Manager Proxy Module 4.3 python-hwdata 2.3.5-150000.3.9.1 SUSE-SU-2022:3178-1
SUSE Manager Proxy Module 4.3 zypp-plugin-spacewalk 1.0.13-150000.3.32.1 SUSE-SU-2022:3178-1
SUSE Manager Proxy Module 4.2 ansible 2.9.27-150000.1.14.1 SUSE-SU-2022:3178-1
SUSE Manager Proxy Module 4.2 golang-github-QubitProducts-exporter_exporter 0.4.0-150000.1.15.1 SUSE-SU-2022:3178-1
SUSE Manager Proxy Module 4.2 prometheus-blackbox_exporter 0.19.0-150000.1.11.1 SUSE-SU-2022:3178-1
SUSE Manager Proxy Module 4.2 python-hwdata 2.3.5-150000.3.9.1 SUSE-SU-2022:3178-1
SUSE Manager Proxy Module 4.2 zypp-plugin-spacewalk 1.0.13-150000.3.32.1 SUSE-SU-2022:3178-1
SUSE Manager Proxy Module 4.1 python-hwdata 2.3.5-150000.3.9.1 SUSE-SU-2022:3178-1
SUSE Manager Proxy Module 4.1 zypp-plugin-spacewalk 1.0.13-150000.3.32.1 SUSE-SU-2022:3178-1
SUSE Manager Client Tools Beta for SLE Micro 5 dracut-saltboot 0.1.1681904360.84ef141-159000.3.30.1 SUSE-SU-2024:0196-1
SUSE Manager Client Tools Beta for SLE Micro 5 golang-github-QubitProducts-exporter_exporter 0.4.0-159000.4.6.1 SUSE-SU-2024:0196-1
SUSE Manager Client Tools Beta for SLE Micro 5 prometheus-blackbox_exporter 0.24.0-159000.3.6.1 SUSE-SU-2024:0196-1
SUSE Manager Client Tools Beta for SLE Micro 5 uyuni-proxy-systemd-services 5.0.1-159000.3.9.1 SUSE-SU-2024:0196-1
SUSE Manager Client Tools 15 ansible 2.9.27-150000.1.14.1 SUSE-SU-2024:0196-1, SUSE-SU-2022:3178-1
SUSE Manager Client Tools 15 dracut-saltboot 0.1.1657643023.0d694ce-150000.1.35.1 SUSE-SU-2024:0196-1, SUSE-SU-2022:3178-1
SUSE Manager Client Tools 15 golang-github-QubitProducts-exporter_exporter 0.4.0-150000.1.15.1 SUSE-SU-2024:0196-1, SUSE-SU-2022:3178-1
SUSE Manager Client Tools 15 golang-github-boynux-squid_exporter 1.6-159000.4.9.1 SUSE-SU-2024:0196-1
SUSE Manager Client Tools 15 golang-github-lusitaniae-apache_exporter 1.0.0-159000.4.12.1 SUSE-SU-2024:0196-1
SUSE Manager Client Tools 15 golang-github-prometheus-prometheus 2.45.0-159000.6.33.1 SUSE-SU-2024:0196-1
SUSE Manager Client Tools 15 grafana 9.5.8-159000.4.24.1 SUSE-SU-2024:0196-1
SUSE Manager Client Tools 15 mgr-daemon 4.3.5-150000.1.35.1 SUSE-SU-2022:3178-1
SUSE Manager Client Tools 15 mgr-push 5.0.1-159000.4.21.1 SUSE-SU-2024:0196-1
SUSE Manager Client Tools 15 mgr-virtualization 4.3.6-150000.1.32.1 SUSE-SU-2022:3178-1
SUSE Manager Client Tools 15 prometheus-blackbox_exporter 0.19.0-150000.1.11.1 SUSE-SU-2024:0196-1, SUSE-SU-2022:3178-1
SUSE Manager Client Tools 15 prometheus-postgres_exporter 0.10.1-159000.3.6.1 SUSE-SU-2024:0196-1
SUSE Manager Client Tools 15 python-hwdata 2.3.5-150000.3.9.1 SUSE-SU-2024:0196-1, SUSE-SU-2022:3178-1
SUSE Manager Client Tools 15 python-pyvmomi 6.7.3-159000.3.6.1 SUSE-SU-2024:0196-1
SUSE Manager Client Tools 15 rhnlib 5.0.1-159000.6.30.1 SUSE-SU-2024:0196-1
SUSE Manager Client Tools 15 spacecmd 4.3.14-150000.3.83.1 SUSE-SU-2024:0196-1, SUSE-SU-2022:3178-1
SUSE Manager Client Tools 15 spacewalk-client-tools 4.3.11-150000.3.65.1 SUSE-SU-2024:0196-1, SUSE-SU-2022:3178-1
SUSE Manager Client Tools 15 supportutils-plugin-salt 1.2.2-159000.5.9.1 SUSE-SU-2024:0196-1
SUSE Manager Client Tools 15 supportutils-plugin-susemanager-client 5.0.1-159000.6.15.1 SUSE-SU-2024:0196-1
SUSE Manager Client Tools 15 uyuni-common-libs 4.3.5-150000.1.24.1 SUSE-SU-2024:0196-1, SUSE-SU-2022:3178-1
SUSE Manager Client Tools 15 uyuni-proxy-systemd-services 4.3.6-150000.1.6.1 SUSE-SU-2024:0196-1, SUSE-SU-2022:3178-1
SUSE Manager Client Tools 15 zypp-plugin-spacewalk 1.0.13-150000.3.32.1 SUSE-SU-2022:3178-1
SUSE HPE Helion OpenStack 8 ansible 2.9.22-3.18.1 SUSE-SU-2021:2121-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed ansible-10 10.6.0-1.1 openSUSE-SU-2024:14536-1
openSUSE Tumbleweed ansible-11 11.11.0-1.1 openSUSE-SU-2025:15605-1
openSUSE Tumbleweed ansible-12 12.2.0-1.1 openSUSE-SU-2025:15753-1
openSUSE Tumbleweed ansible-13 13.7.0-1.1 openSUSE-SU-2026:10944-1
openSUSE Tumbleweed ansible-14 14.6.0-1.1 openSUSE-SU-2026:12447-1
openSUSE Tumbleweed ansible-9 9.8.0-1.1 openSUSE-SU-2024:14244-1
openSUSE Leap 15.4 ansible 2.9.27-150000.1.14.1 SUSE-SU-2022:3178-1
openSUSE Leap 15.4 dracut-saltboot 0.1.1657643023.0d694ce-150000.1.35.1 SUSE-SU-2022:3178-1
openSUSE Leap 15.4 golang-github-QubitProducts-exporter_exporter 0.4.0-150000.1.15.1 SUSE-SU-2022:3178-1
openSUSE Leap 15.4 prometheus-blackbox_exporter 0.19.0-150000.1.11.1 SUSE-SU-2022:3178-1
openSUSE Leap 15.4 python-hwdata 2.3.5-150000.3.9.1 SUSE-SU-2022:3178-1
openSUSE Leap 15.4 spacecmd 4.3.14-150000.3.83.1 SUSE-SU-2022:3178-1
openSUSE Leap 15.4 wire 0.5.0-150000.1.6.1 SUSE-SU-2022:3178-1
openSUSE Leap 15.3 ansible 2.9.21-bp153.2.3.1 openSUSE-SU-2022:0081-1, SUSE-SU-2022:3178-1
openSUSE Leap 15.3 dracut-saltboot 0.1.1657643023.0d694ce-150000.1.35.1 SUSE-SU-2022:3178-1
openSUSE Leap 15.3 golang-github-QubitProducts-exporter_exporter 0.4.0-150000.1.15.1 SUSE-SU-2022:3178-1
openSUSE Leap 15.3 python-hwdata 2.3.5-150000.3.9.1 SUSE-SU-2022:3178-1
openSUSE Leap 15.3 spacecmd 4.3.14-150000.3.83.1 SUSE-SU-2022:3178-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI ansible >= 2.8.0a1, < 2.8.19 2.8.19 GHSA-fh5v-5f35-2rv2
PyPI ansible >= 2.9.0b1, < 2.9.18 2.9.18 GHSA-fh5v-5f35-2rv2
PyPI ansible >= 2.8.0a1, < 2.8.19 · >= 2.9.0b1, < 2.9.18 2.8.19, 2.9.18 PYSEC-2026-618

Advisories 14

References