{"id":"CVE-2014-3498","aliases":["DEBIAN-CVE-2014-3498","EUVD-2017-0002","GHSA-4cvm-5776-jx9f","PYSEC-2017-2","UBUNTU-CVE-2014-3498"],"status":"published","title":"Ansible Arbitrary Code Execution","description":"The user module in ansible before 1.6.6 allows remote authenticated users to execute arbitrary commands.","severity":{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.02592,"percentile":0.85397,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2017-06-08T18:00:00Z","modified":"2026-10-23T16:01:26Z","fixes":[{"ecosystem":"PyPI","package":"ansible","fixed_in":["1.6.6"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"ansible","fixed_in":["1.7.0+dfsg-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"ansible","fixed_in":["1.7.0+dfsg-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"ansible","fixed_in":["1.7.0+dfsg-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"ansible","fixed_in":["1.5.4+dfsg-1ubuntu0.1~esm1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"ansible","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.6"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"ansible","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.0+dfsg-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"ansible","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.0+dfsg-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"ansible","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.0+dfsg-1"}]}]},{"source":"osv","ecosystem":"PyPI","package":"ansible","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.6"}]}],"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","1.5.4","1.5.5","1.6","1.6.1","1.6.2","1.6.3","1.6.4","1.6.5"]},{"source":"osv","ecosystem":"PyPI","package":"ansible","ranges":[{"type":"GIT","events":[{"introduced":"0"},{"fixed":"8ed6350e65c82292a631f08845dfaacffe7f07f5"}]},{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.6"}]}],"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","1.5.4","1.5.5","1.6","1.6.1","1.6.2","1.6.3","1.6.4","1.6.5","v1.6.0","v1.4.0","v1.2","v1.1","v1.0","0.7","0.3","0.0.1","0.01"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"ansible","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.4+dfsg-1ubuntu0.1~esm1"}]}],"versions":["1.1+dfsg-1","1.3.4+dfsg-1","1.4.0+dfsg-1","1.4.1+dfsg-1","1.4.3+dfsg-1","1.4.4+dfsg-1","1.5.4+dfsg-1"]}],"products":[{"vendor":"redhat","product":"ansible"}],"references":[{"url":"https://github.com/ansible/ansible/commit/8ed6350e65c82292a631f08845dfaacffe7f07f5","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","advisory","fix","web","report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1335551","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Third Party Advisory","advisory","report","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2014-3498","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2017-2.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-4cvm-5776-jx9f","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2014-3498","tags":["advisory"]},{"url":"https://github.com/ansible/ansible","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2014-3498","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2014-3498","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2014-3498","description":"The user module in ansible before 1.6.6 allows remote authenticated users to execute arbitrary commands.","status":"published","published":"2017-06-08T18:00:00Z","modified":"2024-08-06T10:43:06.324Z","updated_at":"2026-11-02T14:33:44.569327Z"}],"euvd":[{"id":"EUVD-2017-0002","description":"The user module in ansible before 1.6.6 allows remote authenticated users to execute arbitrary commands.","status":"published","published":"2017-06-08T18:00:00Z","modified":"2024-08-06T10:43:06Z","updated_at":"2026-11-03T01:57:10.446744Z"}],"ghsa":[{"id":"GHSA-4cvm-5776-jx9f","title":"Ansible Arbitrary Code Execution","description":"User module in ansible before 1.6.6 is vulnerable to command execution. Ansible can get the result of remote command in variable, which may come from untrusted source of input. If the content of variable isn't properly filtered and when attempting to use the variable, it will trigger a function that passes it through jinja 2 template engine that can result into arbitrary command execution. Under certain circumstances, unprivileged user on system that is being managed via ansible can execute code on the managing host under UID of running ansible process.\n","status":"published","published":"2022-05-14T02:03:45Z","modified":"2024-09-03T21:19:34Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"},{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"high"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:38:00.257632Z"}],"nvd":[{"id":"CVE-2014-3498","description":"The user module in ansible before 1.6.6 allows remote authenticated users to execute arbitrary commands.","status":"published","published":"2017-06-08T18:29:00.187Z","modified":"2026-06-17T00:08:18.69Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:02:59.001778Z"}],"osv":[{"id":"CVE-2014-3498","description":"The user module in ansible before 1.6.6 allows remote authenticated users to execute arbitrary commands.","status":"published","published":"2017-06-08T18:29:00Z","modified":"2026-04-10T03:43:45.855911Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:43:59.654289Z"},{"id":"DEBIAN-CVE-2014-3498","description":"The user module in ansible before 1.6.6 allows remote authenticated users to execute arbitrary commands.","status":"published","published":"2017-06-08T18:29:00.187Z","modified":"2026-10-23T16:01:26.23977615Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:26.134753Z"},{"id":"GHSA-4cvm-5776-jx9f","title":"Ansible Arbitrary Code Execution","description":"User module in ansible before 1.6.6 is vulnerable to command execution. Ansible can get the result of remote command in variable, which may come from untrusted source of input. If the content of variable isn't properly filtered and when attempting to use the variable, it will trigger a function that passes it through jinja 2 template engine that can result into arbitrary command execution. Under certain circumstances, unprivileged user on system that is being managed via ansible can execute code on the managing host under UID of running ansible process.\n","status":"published","published":"2022-05-14T02:03:45Z","modified":"2024-09-03T21:41:30.332279Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"},{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"high"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:46:36.782754Z"},{"id":"UBUNTU-CVE-2014-3498","description":"The user module in ansible before 1.6.6 allows remote authenticated users to execute arbitrary commands.","status":"published","published":"2017-06-08T18:29:00Z","modified":"2025-10-16T06:47:47.914168Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:09.010095Z"},{"id":"PYSEC-2017-2","description":"The user module in ansible before 1.6.6 allows remote authenticated users to execute arbitrary commands.","status":"published","published":"2017-06-08T18:29:00Z","modified":"2026-06-10T17:00:16.426433579Z","updated_at":"2026-11-02T15:52:51.645172Z"}]}}
