Ansible: malicious role archive can cause ansible-galaxy to overwrite arbitrary files
Red Hat Ansible Automation Platform 2.3 for RHEL 8 · Red Hat Ansible Automation Platform 2.3 for RHEL 9 · Red Hat Ansible Automation Platform 2.4 for RHEL 8 · Red Hat Ansible Automation Platform 2.4 for RHEL 9
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| ansible PyPI |
|
|
Original description
An absolute path traversal attack exists in the Ansible automation platform. This flaw allows an attacker to craft a malicious Ansible role and make the victim execute the role. A symlink can be used to overwrite a file outside of the extraction path.
From the CVE record · redhat