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)
Threat Intelligence
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 ID SNYK-PYTHON-ANSIBLECORE-6054439
- published 10 Nov 2023
- disclosed 21 Sep 2023
- credit Unknown
Introduced: 21 Sep 2023
CVE-2023-5115 Open this link in a new tabHow 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.