{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-20228","id":"CVE-2021-20228","title":"Ansible Exposes Sensitive Information","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.","descriptionLong":"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":"2021-04-29T15:34:08.000Z","updated":"2026-11-07T17:27:09.923383498Z","reserved":"2020-12-17T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"NVD"},"metrics":[{"version":"4.0","score":null,"vector":"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","rating":"high","source":"GitHub"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","rating":"medium","source":"NVD"}],"rating":"high","products":["ansible"],"affectedProducts":[{"vendor":"n/a","product":"ansible","defaultStatus":null,"versions":[{"status":"affected","version":"ansible-engine 2.9.18"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"ansible","purl":"pkg:pypi/ansible","ranges":[">=2.10.0a1 <2.10.6rc1",">=2.9.0a1 <2.9.18rc1","<2.8.19rc1","<2.9.19"],"fixed":["2.10.6rc1","2.9.18rc1","2.8.19rc1","2.9.19"],"advisory":"GHSA-5rrg-rr89-x9mv"}],"cwes":["CWE-200","CWE-522"],"aliases":["GHSA-5rrg-rr89-x9mv","PYSEC-2021-1"],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1925002","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://github.com/ansible/ansible/pull/73487","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://www.debian.org/security/2021/dsa-4950","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20228","tags":["advisory"]},{"url":"https://github.com/ansible/ansible/pull/73492","tags":["web"]},{"url":"https://github.com/ansible/ansible/pull/73493","tags":["web"]},{"url":"https://github.com/ansible/ansible/pull/73494","tags":["web"]},{"url":"https://github.com/ansible/ansible/commit/49ebd509df9de1c1fc1bcee00e79a835dd00662c","tags":["web"]},{"url":"https://github.com/ansible/ansible/commit/e41d1f0a3fd6c466192e7e24accd3d1c6501111b","tags":["web"]},{"url":"https://github.com/ansible/ansible/commit/f8ff395d817c3eddc050f809919c15dfb5796120","tags":["web"]},{"url":"https://github.com/advisories/GHSA-5rrg-rr89-x9mv","tags":["advisory"]},{"url":"https://github.com/ansible/ansible","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2021-1.yaml","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.02043,"epssPercentile":0.81586,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-20228","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20228","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-20228","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-5rrg-rr89-x9mv","ok":true,"note":"GHSA-5rrg-rr89-x9mv"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-20228","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}