CVE-2021-4041
N/A
N/A
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| n/a | ansible-runner | Fixed in ansible-runner 2.1.0 | affected |
Weaknesses
- CWE-20: CWE-20 -Improper Input Validation
ADP Enrichment
CVE Program Container
Additional References
- https://bugzilla.redhat.com/show_bug.cgi?id=2028074
- https://access.redhat.com/security/cve/CVE-2021-4041
- https://github.com/ansible/ansible-runner/commit/3533f265f4349a3f2a0283158cd01b59a6bbc7bd
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2028074
- https://access.redhat.com/security/cve/CVE-2021-4041
- https://github.com/ansible/ansible-runner/commit/3533f265f4349a3f2a0283158cd01b59a6bbc7bd
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.