{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-20180","id":"CVE-2021-20180","title":"Insertion of Sensitive Information into Log File in ansible","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.","descriptionLong":"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.","published":"2022-03-16T14:12:30.000Z","updated":"2026-11-07T17:27:07.604578335Z","reserved":"2020-12-17T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"GitHub"},{"version":"2.0","score":2.1,"vector":"AV:L/AC:L/Au:N/C:P/I:N/A:N","rating":"low","source":"NVD"}],"rating":"medium","products":["Ansible"],"affectedProducts":[{"vendor":"n/a","product":"Ansible","defaultStatus":null,"versions":[{"status":"affected","version":"Fixed in ansible 2.9.18"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"ansible","purl":"pkg:pypi/ansible","ranges":[">=2.8.0a1 <2.8.19",">=2.9.0b1 <2.9.18"],"fixed":["2.8.19","2.9.18"],"advisory":"GHSA-fh5v-5f35-2rv2"}],"cwes":["CWE-532"],"aliases":["GHSA-fh5v-5f35-2rv2","PYSEC-2026-618"],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1915808","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Vendor Advisory","report","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20180","tags":["advisory"]},{"url":"https://github.com/ansible/ansible/pull/73242","tags":["web"]},{"url":"https://github.com/ansible/ansible/pull/73243","tags":["web"]},{"url":"https://github.com/ansible/ansible","tags":["package"]},{"url":"https://github.com/ansible/ansible/blob/v2.8.19/changelogs/CHANGELOG-v2.8.rst","tags":["web"]},{"url":"https://github.com/ansible/ansible/blob/v2.9.18/changelogs/CHANGELOG-v2.9.rst","tags":["web"]},{"url":"https://github.com/ansible/ansible/tree/v2.7.18/lib/ansible/modules/source_control","tags":["web"]},{"url":"https://github.com/ansible/ansible/tree/v2.8.0a1/lib/ansible/modules/source_control","tags":["web"]},{"url":"https://pypi.org/project/ansible","tags":["package"]},{"url":"https://github.com/advisories/GHSA-fh5v-5f35-2rv2","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00314,"epssPercentile":0.24798,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-20180","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20180","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-20180","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-fh5v-5f35-2rv2","ok":true,"note":"GHSA-fh5v-5f35-2rv2"},{"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-20180","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}