CVE-2020-10684

Source
https://cve.org/CVERecord?id=CVE-2020-10684
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-10684.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2020-10684
Aliases
Downstream
Related
Published
2020-03-24T14:15:12Z
Modified
2026-08-26T11:30:41Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H CVSS Calculator
Summary
[none]
Details

A flaw was found in Ansible Engine, all versions 2.7.x, 2.8.x and 2.9.x prior to 2.7.17, 2.8.9 and 2.9.6 respectively, when using ansible_facts as a subkey of itself and promoting it to a variable when inject is enabled, overwriting the ansible_facts after the clean. An attacker could take advantage of this by altering the ansible_facts, such as ansible_hosts, users and any other key data which would lead into privilege escalation or code injection.

Database specific
{
    "unresolved_ranges": [
        {
            "cpes": [
                "cpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "last_affected": "3.3.5"
                },
                {
                    "introduced": "3.5.0"
                },
                {
                    "last_affected": "3.5.5"
                },
                {
                    "introduced": "3.6.0"
                },
                {
                    "last_affected": "3.6.3"
                }
            ],
            "source": "CPE_RANGE",
            "vendor_product": "redhat:ansible_tower"
        },
        {
            "cpes": [
                "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "introduced": "10.0"
                },
                {
                    "last_affected": "10.0"
                }
            ],
            "source": "CPE_STRING",
            "vendor_product": "debian:debian_linux"
        },
        {
            "cpes": [
                "cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*",
                "cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*",
                "cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "introduced": "30"
                },
                {
                    "last_affected": "30"
                },
                {
                    "introduced": "31"
                },
                {
                    "last_affected": "31"
                },
                {
                    "introduced": "32"
                },
                {
                    "last_affected": "32"
                }
            ],
            "source": "CPE_STRING",
            "vendor_product": "fedoraproject:fedora"
        },
        {
            "cpes": [
                "cpe:2.3:a:redhat:openstack:10:*:*:*:*:*:*:*",
                "cpe:2.3:a:redhat:openstack:13:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "introduced": "10"
                },
                {
                    "last_affected": "10"
                },
                {
                    "introduced": "13"
                },
                {
                    "last_affected": "13"
                }
            ],
            "source": "CPE_STRING",
            "vendor_product": "redhat:openstack"
        }
    ]
}
References

Affected packages

Git / github.com/ansible/ansible

Affected ranges

Type
GIT
Repo
https://github.com/ansible/ansible
Events
Database specific
Show details
{
    "cpe": "cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "2.7.0"
        },
        {
            "fixed": "2.7.17"
        },
        {
            "introduced": "2.8.0"
        },
        {
            "fixed": "2.8.9"
        },
        {
            "introduced": "2.9.0"
        },
        {
            "fixed": "2.9.6"
        }
    ],
    "source": "CPE_RANGE"
}

Affected versions

v2.*
v2.7.0
v2.7.1
v2.7.10
v2.7.11
v2.7.12
v2.7.13
v2.7.14
v2.7.15
v2.7.16
v2.7.2
v2.7.3
v2.7.4
v2.7.5
v2.7.6
v2.7.7
v2.7.8
v2.7.9
v2.8.0
v2.8.1
v2.8.2
v2.8.3
v2.8.4
v2.8.5
v2.8.6
v2.8.7
v2.8.8
v2.9.0
v2.9.1
v2.9.2
v2.9.3
v2.9.4
v2.9.5

Database specific

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