Security mailing lists by PureSourceCode

CVE-2021-20228

HIGH 7.5CVSS 3.1

Ansible Exposes Sensitive Information

A flaw was found in the Ansible Engine 2.9.18, where sensitive info is not masked by default and is not protected by the no_log feature when using the sub-option feature of the basic.py module. This flaw allows an attacker to obtain sensitive information. The highest threat from this vulnerability is to confidentiality.

Published
29 Apr 2021
Last modified
17 Jun 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-200CWE-522
Also known as
GHSA-5rrg-rr89-x9mvPYSEC-2021-1
Sources
NVDJSONOSV GHSA-5rrg-rr89-x9mvJSONOSV PYSEC-2021-1JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:P/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD redhat ansible_engine
cpe:2.3:a:redhat:ansible_engine:2.9.18:*:*:*:*:*:*:*
= 2.9.18
NVD redhat ansible_automation_platform
cpe:2.3:a:redhat:ansible_automation_platform:1.2:*:*:*:*:*:*:*
= 1.2
NVD redhat ansible_engine
cpe:2.3:a:redhat:ansible_engine:2.0:*:*:*:*:*:*:*
= 2.0
NVD redhat ansible_engine
cpe:2.3:a:redhat:ansible_engine:2.9:*:*:*:*:*:*:*
= 2.9
NVD redhat ansible_tower
cpe:2.3:a:redhat:ansible_tower:3.0:*:*:*:*:*:*:*
= 3.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
= 10.0
OSV PyPI ansible >= 2.10.0a1, < 2.10.6rc1 2.10.6rc1
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.9.19 2.9.19

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 29 Apr 2021)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Apr 2021)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 25 May 2022)
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.