Skip to content
OpenAdvisories
Medium · 4.0 CVE-2013-4259 EUVD-2013-0001GHSA-fj24-ghp9-39v3PYSEC-2013-1

Ansible uses a socket with predictable filename in /tmp

Published Sep 16, 2013 · Updated Aug 6, 2024 · Assigned by redhat

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

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ansible 1.3.4+dfsg-1 —
Debian 13 ansible 1.3.4+dfsg-1 —
Debian 12 ansible 1.3.4+dfsg-1 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI ansible < 1.2.3 1.2.3 GHSA-fj24-ghp9-39v3

References