{"api_version":"1","generated_at":"2026-04-23T00:40:36+00:00","cve":"CVE-2021-20180","urls":{"html":"https://cve.report/CVE-2021-20180","api":"https://cve.report/api/cve/CVE-2021-20180.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-20180","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-20180"},"summary":{"title":"CVE-2021-20180","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.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2022-03-16 15:15:00","updated_at":"2022-03-22 15:43:00"},"problem_types":["CWE-532"],"metrics":[],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1915808","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1915808","refsource":"MISC","tags":[],"title":"1915808 – (CVE-2021-20180) CVE-2021-20180 ansible module: bitbucket_pipeline_variable exposes secured values","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-20180","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20180","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"20180","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"redhat","cpe5":"ansible","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-20180","qid":"183474","title":"Debian Security Update for ansible (CVE-2021-20180)"},{"cve":"CVE-2021-20180","qid":"239447","title":"Red Hat Update for RHV Engine and Host Common Packages (RHSA-2021:2180)"},{"cve":"CVE-2021-20180","qid":"281605","title":"Fedora Security Update for ansible (FEDORA-2021-9a0903469c)"},{"cve":"CVE-2021-20180","qid":"281606","title":"Fedora Security Update for ansible (FEDORA-2021-e9478617ae)"},{"cve":"CVE-2021-20180","qid":"352253","title":"Amazon Linux Security Advisory for ansible: ALAS2-2021-1613"},{"cve":"CVE-2021-20180","qid":"356209","title":"Amazon Linux Security Advisory for ansible : ALASANSIBLE2-2023-004"},{"cve":"CVE-2021-20180","qid":"356466","title":"Amazon Linux Security Advisory for ansible : ALAS2ANSIBLE2-2023-004"},{"cve":"CVE-2021-20180","qid":"752570","title":"SUSE Enterprise Linux Important for SUSE Manager Client Tools (SUSE-SU-2022:3178-1)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ID":"CVE-2021-20180","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"Ansible","version":{"version_data":[{"version_value":"Fixed in ansible 2.9.18"}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-532"}]}]},"references":{"reference_data":[{"refsource":"MISC","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1915808","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1915808"}]},"description":{"description_data":[{"lang":"eng","value":"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."}]}},"nvd":{"publishedDate":"2022-03-16 15:15:00","lastModifiedDate":"2022-03-22 15:43:00","problem_types":["CWE-532"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":5.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":1.8,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:P/I:N/A:N","accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":2.1},"severity":"LOW","exploitabilityScore":3.9,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:*","versionEndExcluding":"2.9.18","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"20180","Ordinal":"194221","Title":"CVE-2021-20180","CVE":"CVE-2021-20180","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"20180","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}