{"id":"GHSA-qg47-5px9-32g7","summary":"Ansible Remote Code Execution","details":"The `safe_eval` function in Ansible before 1.5.4 does not properly restrict the code subset, which allows remote attackers to execute arbitrary code via crafted instructions.","aliases":["CVE-2014-4657","PYSEC-2020-199"],"modified":"2025-02-19T05:27:52.651164Z","published":"2022-05-17T19:57:32Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2023-08-07T20:09:00Z","nvd_published_at":"2020-02-20T15:15:00Z","cwe_ids":["CWE-20"],"severity":"CRITICAL"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-4657"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/998793fd0ab55705d57527a38cee5e83f535974c"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/release1.5.5/CHANGELOG.md"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-199.yaml"},{"type":"WEB","url":"https://web.archive.org/web/20210120133852/https://www.securityfocus.com/bid/68232"}],"affected":[{"package":{"name":"ansible","ecosystem":"PyPI","purl":"pkg:pypi/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.4"}]}],"versions":["1.0","1.1","1.2","1.2.1","1.2.2","1.2.3","1.3.0","1.3.1","1.3.2","1.3.3","1.3.4","1.4","1.4.1","1.4.2","1.4.3","1.4.4","1.4.5","1.5","1.5.1","1.5.2","1.5.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-qg47-5px9-32g7/GHSA-qg47-5px9-32g7.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}