Symlink Attack The advisory has been revoked - it doesn't affect any version of package ansible  (opens in a new tab)


Threat Intelligence

EPSS
0.11% (45th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-ANSIBLE-5917149
  • published25 Sept 2023
  • disclosed21 Sept 2023
  • creditUnknown

Introduced: 21 Sep 2023

CVE-2023-5115  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

There is no fixed version for ansible.

Amendment

This was deemed not a vulnerability.

Overview

ansible is a simple IT automation system.

Affected versions of this package are vulnerable to Symlink Attack via the ansible-galaxy function. When installing a maliciously created Ansible role using ansible-galaxy role install, arbitrary files the user has access to can be overwritten. The malicious role must contain a symlink with an absolute path to the target file, followed by a file of the same name (as the symlink) with the contents to write to the target.