Symlink Attack Affecting ansible-core package, versions [,2.13.13rc1)[2.14.0,2.14.11rc1)[2.15.0,2.15.5rc1)[2.16.0b1,2.16.0b2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.11% (44th 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-ANSIBLECORE-6054439
  • published10 Nov 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?

Upgrade ansible-core to version 2.13.13rc1, 2.14.11rc1, 2.15.5rc1, 2.16.0b2 or higher.

Overview

ansible-core is an a radically simple IT automation system. It handles configuration management, application deployment, cloud provisioning, ad-hoc task execution, network automation, and multi-node orchestration. Ansible makes complex changes like zero-downtime rolling updates with load balancers easy.

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.

CVSS Scores

version 3.1