PYSEC-2020-206: Command Injection
A 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 nxosfilecopy 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Ansible Engineto a version that resolves this vulnerability.Fixed in 2.9.3 - Upgrade
Upgrade
Ansible Engineto a version that resolves this vulnerability.Fixed in 2.8.8 - Upgrade
Upgrade
Ansible Engineto a version that resolves this vulnerability.Fixed in 2.7.16