Skip to content
Fencer Intel
medium 4.0

CVE-2013-4259 json

Ansible uses a socket with predictable filename in /tmp

published 2013-09-16 13 y ago modified 2026-06-16 4 mo ago also GHSA-fj24-ghp9-39v3 , PYSEC-2013-1 , EUVD-2013-0001

cvss
4.0
version 3.1, GitHub
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 27%
public exploits
0
none known

Summary

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/.

Patch / fix

  • pypi ansible 1.2.3
  • ansible Debian 14, Debian 13, Debian 12 1.3.4+dfsg-1

debian advisories DEBIAN-CVE-2013-4259

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2013-4259 updated cvss 4.6

ansible: insecure location for ssh ControlMaster socket

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.34% chance of exploitation in the next 30 days, higher than 27% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 2.0 1.9 AV:L/AC:M/Au:N/C:P/I:N/A:N
GitHub 3.1 4.0 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Affected packages

ecosystem package affected fixed in
pypi ansible
<1.2.3
1.2.3

Classification

Weakness
  • CWE-264 Permissions, Privileges, and Access Controls
  • CWE-330 Use of Insufficiently Random Values

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.