{"id":"CVE-2013-4259","aliases":["DEBIAN-CVE-2013-4259","EUVD-2013-0001","GHSA-fj24-ghp9-39v3","PYSEC-2013-1","UBUNTU-CVE-2013-4259"],"status":"published","title":"Ansible uses a socket with predictable filename in /tmp","description":"runner/connection_plugins/ssh.py in Ansible before 1.2.3, when using ControlPersist, allows local users to redirect a ssh session via a symlink attack on a socket file with a predictable name in /tmp/.","severity":{"version":"2.0","score":1.9,"vector":"AV:L/AC:M/Au:N/C:P/I:N/A:N","level":"low","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.00339,"percentile":0.27468,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-264","CWE-330"],"published":"2013-09-16T19:00:00Z","modified":"2026-09-01T20:03:17Z","fixes":[{"ecosystem":"PyPI","package":"ansible","fixed_in":["1.2.3"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"ansible","fixed_in":["1.3.4+dfsg-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"ansible","fixed_in":["1.3.4+dfsg-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"ansible","fixed_in":["1.3.4+dfsg-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"ansible","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.3"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"ansible","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.4+dfsg-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"ansible","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.4+dfsg-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"ansible","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.4+dfsg-1"}]}]},{"source":"osv","ecosystem":"PyPI","package":"ansible","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.3"}]}],"versions":["1.0","1.1","1.2","1.2.1","1.2.2"]},{"source":"osv","ecosystem":"PyPI","package":"ansible","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.3"}]}],"versions":["1.0","1.1","1.2","1.2.1","1.2.2"]}],"products":[{"vendor":"redhat","product":"ansible"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=998223","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","fix","report","web"]},{"url":"https://groups.google.com/forum/#%21topic/ansible-project/UVDYW0HGcNg","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://www.ansible.com/security","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-4259","tags":["advisory"]},{"url":"https://groups.google.com/forum/#!topic/ansible-project/UVDYW0HGcNg","tags":["web","report"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2013-1.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-fj24-ghp9-39v3","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2013-4259","tags":["advisory"]},{"url":"https://github.com/ansible/ansible","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2013-4259","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2013-4259","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2013-4259","description":"runner/connection_plugins/ssh.py in Ansible before 1.2.3, when using ControlPersist, allows local users to redirect a ssh session via a symlink attack on a socket file with a predictable name in /tmp/.","status":"published","published":"2013-09-16T19:00:00Z","modified":"2024-08-06T16:38:01.688Z","updated_at":"2026-11-02T14:34:57.869657Z"}],"euvd":[{"id":"EUVD-2013-0001","description":"runner/connection_plugins/ssh.py in Ansible before 1.2.3, when using ControlPersist, allows local users to redirect a ssh session via a symlink attack on a socket file with a predictable name in /tmp/.","status":"published","published":"2013-09-16T19:00:00Z","modified":"2024-08-06T16:38:01Z","updated_at":"2026-11-03T01:56:33.227006Z"}],"ghsa":[{"id":"GHSA-fj24-ghp9-39v3","title":"Ansible uses a socket with predictable filename in /tmp","description":"`runner/connection_plugins/ssh.py` in Ansible before 1.2.3, when using `ControlPersist`, allows local users to redirect a ssh session via a symlink attack on a socket file with a predictable name in `/tmp/`.","status":"published","published":"2022-05-14T02:03:36Z","modified":"2024-09-04T19:45:52Z","cvss":[{"version":"4.0","score":2.1,"vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","level":"low"},{"version":"3.1","score":4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"cwes":["CWE-330"],"updated_at":"2026-11-02T14:38:01.080229Z"}],"nvd":[{"id":"CVE-2013-4259","description":"runner/connection_plugins/ssh.py in Ansible before 1.2.3, when using ControlPersist, allows local users to redirect a ssh session via a symlink attack on a socket file with a predictable name in /tmp/.","status":"published","published":"2013-09-16T19:14:39.02Z","modified":"2026-06-16T23:56:54.57Z","cvss":[{"version":"2.0","score":1.9,"vector":"AV:L/AC:M/Au:N/C:P/I:N/A:N","level":"low","assessor":"primary"}],"cwes":["CWE-264"],"updated_at":"2026-11-02T14:02:35.248411Z"}],"osv":[{"id":"GHSA-fj24-ghp9-39v3","title":"Ansible uses a socket with predictable filename in /tmp","description":"`runner/connection_plugins/ssh.py` in Ansible before 1.2.3, when using `ControlPersist`, allows local users to redirect a ssh session via a symlink attack on a socket file with a predictable name in `/tmp/`.","status":"published","published":"2022-05-14T02:03:36Z","modified":"2024-09-04T20:05:01.05291Z","cvss":[{"version":"3.1","score":4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium"},{"version":"4.0","score":2.1,"vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","level":"low"}],"cwes":["CWE-330"],"updated_at":"2026-11-02T15:46:46.39441Z"},{"id":"CVE-2013-4259","description":"runner/connection_plugins/ssh.py in Ansible before 1.2.3, when using ControlPersist, allows local users to redirect a ssh session via a symlink attack on a socket file with a predictable name in /tmp/.","status":"published","published":"2013-09-16T19:14:39Z","modified":"2026-04-10T03:42:56.35826Z","updated_at":"2026-11-02T15:43:59.09154Z"},{"id":"DEBIAN-CVE-2013-4259","description":"runner/connection_plugins/ssh.py in Ansible before 1.2.3, when using ControlPersist, allows local users to redirect a ssh session via a symlink attack on a socket file with a predictable name in /tmp/.","status":"published","published":"2013-09-16T19:14:39.02Z","modified":"2026-09-01T20:03:17.567213181Z","updated_at":"2026-11-02T15:45:25.514579Z"},{"id":"PYSEC-2013-1","description":"runner/connection_plugins/ssh.py in Ansible before 1.2.3, when using ControlPersist, allows local users to redirect a ssh session via a symlink attack on a socket file with a predictable name in /tmp/.","status":"published","published":"2013-09-16T19:14:00Z","modified":"2026-06-10T17:00:10.424907437Z","updated_at":"2026-11-02T15:52:51.645172Z"},{"id":"UBUNTU-CVE-2013-4259","description":"runner/connection_plugins/ssh.py in Ansible before 1.2.3, when using ControlPersist, allows local users to redirect a ssh session via a symlink attack on a socket file with a predictable name in /tmp/.","status":"withdrawn","published":"2013-09-16T19:14:00Z","modified":"2025-07-16T08:10:45.593699Z","updated_at":"2026-11-02T15:54:07.421078Z"}]}}
