Security mailing lists by PureSourceCode

CVE-2021-20191

MEDIUM 5.5CVSS 3.1

Insertion of Sensitive Information into Log File in ansible

A flaw was found in ansible. Credentials, such as secrets, are being disclosed in console log by default and not protected by no_log feature when using those modules. An attacker can take advantage of this information to steal those credentials. The highest threat from this vulnerability is to data confidentiality. Versions before ansible 2.9.18 are affected.

Published
26 May 2021
Last modified
17 Jun 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-532
Also known as
GHSA-8f4m-hccc-8qphPYSEC-2021-124
Sources
NVDJSONOSV GHSA-8f4m-hccc-8qphJSONOSV PYSEC-2021-124JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 LOW 2.1 AV:L/AC:L/Au:N/C:P/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD oracle virtualization
cpe:2.3:a:oracle:virtualization:4.0:*:*:*:*:*:*:*
= 4.0
NVD redhat ansible
cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:*
< 2.8.19 2.8.19
NVD redhat ansible
cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:*
>= 2.9.0, < 2.9.18 2.9.18
NVD redhat ansible
cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:*
>= 2.10.0, < 2.10.7 2.10.7
NVD redhat ansible_tower
cpe:2.3:a:redhat:ansible_tower:3.0:*:*:*:*:*:*:*
= 3.0
NVD redhat cisco_nx-os_collection
cpe:2.3:a:redhat:cisco_nx-os_collection:*:*:*:*:*:*:*:*
< 1.4.0 1.4.0
NVD redhat community_general_collection
cpe:2.3:a:redhat:community_general_collection:*:*:*:*:*:ansible:*:*
< 1.3.6 1.3.6
NVD redhat community_general_collection
cpe:2.3:a:redhat:community_general_collection:*:*:*:*:*:ansible:*:*
>= 2.0.0, < 2.0.1 2.0.1
NVD redhat community_network_collection
cpe:2.3:a:redhat:community_network_collection:*:*:*:*:*:ansible:*:*
< 1.3.2 1.3.2
NVD redhat community_network_collection
cpe:2.3:a:redhat:community_network_collection:*:*:*:*:*:ansible:*:*
>= 2.0.0, < 2.0.1 2.0.1
NVD redhat docker_community_collection
cpe:2.3:a:redhat:docker_community_collection:*:*:*:*:*:ansible:*:*
< 1.2.2 1.2.2
NVD redhat google_cloud_platform_ansible_collection
cpe:2.3:a:redhat:google_cloud_platform_ansible_collection:1.0.2:*:*:*:*:*:*:*
= 1.0.2
OSV PyPI ansible >= 2.9.0a1, < 2.9.18rc1 2.9.18rc1
OSV PyPI ansible < 2.8.19rc1 2.8.19rc1
OSV PyPI ansible >= 2.10.0a1, < 2.10.7 2.10.7
OSV PyPI ansible < 2.8.19; >= 2.9.0, < 2.9.18; >= 2.10.0, < 2.10.7 2.8.19, 2.9.18, 2.10.7

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 26 May 2021)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 26 May 2021)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 1 Jun 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.