Race Condition Affecting ansible-core package, versions [,2.12.0b1)
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-6069873
- published 20 Nov 2023
- disclosed 10 May 2021
- credit Unknown
Introduced: 10 May 2021
CVE-2021-3533 Open this link in a new tabHow to fix?
Upgrade ansible-core
to version 2.12.0b1 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 Race Condition. The ANSIBLE_ASYNC_DIR
value defaults to ~/.ansible_async/
but is settable by the user.
When this occurs, there is a race condition on the managed machine. A malicious, low privileged account on the remote machine can pre-create /tmp/username-ansible-async
and then use various attacks to access the async result data.