NetSight
high7.8

CVE-2021-4041

ansible-runner vulnerable to shell command injection

Impact

A flaw was found in ansible-runner. An improper escaping of the shell command, while calling the `ansible_runner.interface.run_command`, can lead to parameters getting executed as host's shell command. A developer could unintentionally write code that gets executed in the host rather than the virtual environment.

Affected packages

EcosystemPackageAffectedFixed in
pipansible-runner< 2.1.02.1.0

Affected products

VendorProductAffected versions
RedhatAnsible Runner
before 2.1.0
Version 2.1.0

Weakness classification

References