Externally Controlled Reference to a Resource in Another Sphere, Improper Input Validation, and External Control of File Name or Path in Ansible
Red Hat Ansible
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| ansible PyPI |
|
|
Red Hat Ansible
| Product | Affected | Fixed in |
|---|---|---|
| ansible PyPI |
|
|
2.9.3A vulnerability was found in Ansible Engine versions 2.9.x before 2.9.3, 2.8.x before 2.8.8, 2.7.x before 2.7.16 and earlier, where in Ansible's nxos_file_copy module can be used to copy files to a flash or bootflash on NXOS devices. Malicious code could craft the filename parameter to perform OS command injections. This could result in a loss of confidentiality of the system among other issues.
From the CVE record · redhat
Ansible Engine's nxos_file_copy module is vulnerable when copying files to flash or bootflash on NXOS devices. An attacker who can supply a crafted filename parameter could inject OS commands, potentially exposing confidential system information. The input does not specify whether authentication or user interaction is required.
Engineers running Red Hat Ansible Engine 2.7.x before 2.7.16, 2.8.x before 2.8.8, or 2.9.x before 2.9.3, including the listed affected PyPI ansible prereleases, should check their installations.