Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-20180

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-20180
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 04:48 UTC · Revision 1

Source evidence

CVE-2021-20180

core-osv · Original source

Published 16 Mar 2022, 15:15 UTC

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.

osv:CVE-2021-20180
Complete source record
{
  "id": "75986d4bcaf44ba7c195739220427edd19815c88f4ca514c6b7752bdfeef7d08",
  "url": "https://osv.dev/vulnerability/CVE-2021-20180",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-20180",
    "summary": "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.",
    "evidence": "osv:CVE-2021-20180",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-20180",
      "aliases": [
        "CVE-2021-20180",
        "GHSA-fh5v-5f35-2rv2",
        "PYSEC-2026-618"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/ansible/ansible",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4455e60166a8271771d96c24f47b6714130d200f"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.9.18"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.9.18rc1",
            "v2.9.17",
            "v2.9.17rc1",
            "v2.9.16",
            "v2.9.16rc1",
            "v2.9.15",
            "v2.9.15rc1",
            "v2.9.14",
            "v2.9.14rc1",
            "v2.9.13",
            "v2.9.12",
            "v2.9.11",
            "v2.9.10",
            "v2.9.9",
            "v2.9.8",
            "v2.9.7",
            "v2.9.6",
            "v2.9.5",
            "v2.9.4",
            "v2.9.3",
            "v2.9.2",
            "v2.9.1",
            "v2.9.0",
            "v2.9.0rc5",
            "v2.9.0rc4",
            "v2.9.0rc3",
            "v2.9.0rc2",
            "v2.9.0rc1",
            "v2.9.0b1",
            "stable-2.9-branchpoint",
            "v2.8.0a1",
            "v2.7.0.a1",
            "v2.6.0a1",
            "v2.0.0-0.5.beta3",
            "v2.0.0-0.4.beta2",
            "v2.0.0-0.3.beta1",
            "v2.0.0-0.2.alpha2",
            "v2.0.0-0.1.alpha1",
            "v1.6.0",
            "v1.4.0",
            "v1.2",
            "v1.1",
            "v1.0",
            "0.7",
            "0.3",
            "0.0.1",
            "0.01"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-20180.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:22.346391596Z",
      "provider": "osv",
      "references": [
        "https://bugzilla.redhat.com/show_bug.cgi?id=1915808"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-20180",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 430657,
  "published_at": "2022-03-16T15:15:09.927+00:00"
}