VDB

CVE-2021-20180

CVE-2021-20180 PUBLISHED

Insertion of Sensitive Information into Log File in ansible

Reported by redhat · Published March 16, 2022

ansible is fixed in 2.9.18 and 2.8.19 (PyPI)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
ansiblePyPI2.9.18, 2.8.19
ansibleredhat2.9.18

Affected products

VendorProductVersions
n/aAnsibleFixed in ansible 2.9.18
n/aAnsible2.9.18

Timeline

  • Mar 9, 2021 CVE Published
  • Oct 6, 2021 PoC Published (9 in total, the first dated here)
  • Mar 17, 2022 EPSS Score (30 in total, the first dated here)
  • Nov 21, 2024 CVE Updated
  • Mar 10, 2026 Security Advisory (11 in total, the first dated here)
  • Mar 26, 2026 Distribution Patch (6 in total, the first dated here)
  • Aug 27, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-20180
vulnetix vdb fixes CVE-2021-20180

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-20180/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

  • x_refsource_MISC
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›