{"cve":"CVE-2021-20228","nvd":{"published":"2021-04-29T16:15:09.737","modified":"2026-06-17T03:33:30.447","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-200"],"references":["https://bugzilla.redhat.com/show_bug.cgi?id=1925002","https://github.com/ansible/ansible/pull/73487","https://www.debian.org/security/2021/dsa-4950","https://bugzilla.redhat.com/show_bug.cgi?id=1925002","https://github.com/ansible/ansible/pull/73487"],"products":["debian:debian_linux","redhat:ansible_automation_platform","redhat:ansible_engine","redhat:ansible_tower"],"source":"nvd","synced_at":"2026-10-19T21:18:09.669877188+00:00"},"epss":{"cve":"CVE-2021-20228","score":0.0206,"percentile":0.81332,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-5rrg-rr89-x9mv","url":"https://osv.dev/vulnerability/GHSA-5rrg-rr89-x9mv","summary":"Ansible Exposes Sensitive Information","modified":"2024-09-09T21:20:55.682080Z","packages":[{"ecosystem":"PyPI","name":"ansible","purl":"pkg:pypi/ansible","ranges":[">=2.10.0a1 <2.10.6rc1"],"fixed":["2.10.6rc1"]},{"ecosystem":"PyPI","name":"ansible","purl":"pkg:pypi/ansible","ranges":[">=2.9.0a1 <2.9.18rc1"],"fixed":["2.9.18rc1"]},{"ecosystem":"PyPI","name":"ansible","purl":"pkg:pypi/ansible","ranges":["<2.8.19rc1"],"fixed":["2.8.19rc1"]}]},{"id":"PYSEC-2021-1","url":"https://osv.dev/vulnerability/PYSEC-2021-1","summary":"","modified":"2023-11-08T04:04:35.952600Z","packages":[{"ecosystem":"PyPI","name":"ansible","purl":"pkg:pypi/ansible","ranges":["<2.9.19"],"fixed":["2.9.19"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}