CVE-2018-10874

Source
https://cve.org/CVERecord?id=CVE-2018-10874
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-10874.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2018-10874
Aliases
Downstream
Related
Published
2018-07-02T13:29:00.367Z
Modified
2026-07-07T08:49:44.092323228Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

In ansible it was found that inventory variables are loaded from current working directory when running ad-hoc command which are under attacker's control, allowing to run arbitrary code as a result.

Database specific
{
    "unresolved_ranges": [
        {
            "source": "CPE_STRING",
            "vendor_product": "redhat:ansible_engine",
            "cpes": [
                "cpe:2.3:a:redhat:ansible_engine:2.0:*:*:*:*:*:*:*",
                "cpe:2.3:a:redhat:ansible_engine:2.4:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "introduced": "2.0"
                },
                {
                    "last_affected": "2.0"
                },
                {
                    "introduced": "2.4"
                },
                {
                    "last_affected": "2.4"
                }
            ]
        },
        {
            "source": "CPE_STRING",
            "vendor_product": "redhat:openstack",
            "cpes": [
                "cpe:2.3:a:redhat:openstack:10:*:*:*:*:*:*:*",
                "cpe:2.3:a:redhat:openstack:12:*:*:*:*:*:*:*",
                "cpe:2.3:a:redhat:openstack:13:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "introduced": "10"
                },
                {
                    "last_affected": "10"
                },
                {
                    "introduced": "12"
                },
                {
                    "last_affected": "12"
                },
                {
                    "introduced": "13"
                },
                {
                    "last_affected": "13"
                }
            ]
        },
        {
            "vendor_product": "redhat:virtualization",
            "source": "CPE_STRING",
            "cpes": [
                "cpe:2.3:a:redhat:virtualization:4.0:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "introduced": "4.0"
                },
                {
                    "last_affected": "4.0"
                }
            ]
        },
        {
            "source": "CPE_STRING",
            "vendor_product": "redhat:virtualization_host",
            "cpes": [
                "cpe:2.3:a:redhat:virtualization_host:4.0:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "introduced": "4.0"
                },
                {
                    "last_affected": "4.0"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/ansible/ansible

Affected ranges

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

Affected versions

2.*
2.5
2.6

Database specific

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