CVEvulnerability
CVE-2021-4041
7.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2022-08-24
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-116, CWE-20
Description
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 configurations
• redhat ansible runner (< 2.1.0)
• redhat ansible runner 2.1.0
Related
References
- https://access.redhat.com/security/cve/CVE-2021-4041 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2028074 Issue Tracking, Patch, Vendor Advisory
- https://github.com/ansible/ansible-runner/commit/3533f265f4349a3f2a0283158cd01b59a6bbc7bd Patch, Third Party Advisory
- https://access.redhat.com/security/cve/CVE-2021-4041 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2028074 Issue Tracking, Patch, Vendor Advisory
- https://github.com/ansible/ansible-runner/commit/3533f265f4349a3f2a0283158cd01b59a6bbc7bd Patch, Third Party Advisory