CVE-2021-3681

Source
https://cve.org/CVERecord?id=CVE-2021-3681
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-3681.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-3681
Published
2022-04-18T17:15:15.507Z
Modified
2026-07-07T08:51:42.882218356Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

A flaw was found in Ansible Galaxy Collections. When collections are built manually, any files in the repository directory that are not explicitly excluded via the build_ignore list in "galaxy.yml" include files in the .tar.gz file. This contains sensitive info, such as the user's Ansible Galaxy API key and any secrets in ansible or ansible-playbook verbose output without theno_log redaction. Currently, there is no way to deprecate a Collection Or delete a Collection Version. Once published, anyone who downloads or installs the collection can view the secrets.

Database specific
{
    "unresolved_ranges": [
        {
            "cpes": [
                "cpe:2.3:a:redhat:ansible_automation_platform:1.2:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "introduced": "1.2"
                },
                {
                    "last_affected": "1.2"
                }
            ],
            "source": "CPE_STRING",
            "vendor_product": "redhat:ansible_automation_platform"
        }
    ]
}
References

Affected packages

Git / github.com/ansible/galaxy

Affected ranges

Type
GIT
Repo
https://github.com/ansible/galaxy
Events
Database specific
{
    "cpe": "cpe:2.3:a:redhat:ansible_galaxy:3.3.0:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "3.3.0"
        },
        {
            "last_affected": "3.3.0"
        }
    ],
    "source": "CPE_STRING"
}

Affected versions

3.*
3.3.0
v3.*
v3.3.0

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-3681.json"