{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2014-4678",
        "ASSIGNER": "secalert@redhat.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "The safe_eval function in Ansible before 1.6.4 does not properly restrict the code subset, which allows remote attackers to execute arbitrary code via crafted instructions. NOTE: this vulnerability exists because of an incomplete fix for CVE-2014-4657."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "Other"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "n/a",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "Ansible",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "=",
                                            "version_value": "before 1.6.4"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://github.com/ansible/ansible/commit/5429b85b9f6c2e640074176f36ff05fd5e4d1916",
                "refsource": "MISC",
                "name": "https://github.com/ansible/ansible/commit/5429b85b9f6c2e640074176f36ff05fd5e4d1916"
            },
            {
                "url": "https://groups.google.com/forum/message/raw?msg=ansible-announce/ieV1vZvcTXU/5Q93ThkY9rIJ",
                "refsource": "MISC",
                "name": "https://groups.google.com/forum/message/raw?msg=ansible-announce/ieV1vZvcTXU/5Q93ThkY9rIJ"
            },
            {
                "url": "https://security-tracker.debian.org/tracker/CVE-2014-4678",
                "refsource": "MISC",
                "name": "https://security-tracker.debian.org/tracker/CVE-2014-4678"
            },
            {
                "url": "https://www.openwall.com/lists/oss-security/2014/06/26/30",
                "refsource": "MISC",
                "name": "https://www.openwall.com/lists/oss-security/2014/06/26/30"
            },
            {
                "url": "https://www.openwall.com/lists/oss-security/2014/07/02/2",
                "refsource": "MISC",
                "name": "https://www.openwall.com/lists/oss-security/2014/07/02/2"
            },
            {
                "url": "https://www.rapid7.com/db/vulnerabilities/freebsd-vid-2c493ac8-205e-11e5-a4a5-002590263bf5",
                "refsource": "MISC",
                "name": "https://www.rapid7.com/db/vulnerabilities/freebsd-vid-2c493ac8-205e-11e5-a4a5-002590263bf5"
            },
            {
                "url": "https://www.rapid7.com/db/vulnerabilities/gentoo-linux-cve-2014-4678",
                "refsource": "MISC",
                "name": "https://www.rapid7.com/db/vulnerabilities/gentoo-linux-cve-2014-4678"
            }
        ]
    }
}