CVE-2021-4041
Last modified
CVE-2021-4041 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 0.31% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Redhat | Ansible Runner | < 2.1.0 | — |
| Redhat | Ansible Runner | 2.1.0 | Alpha1 |
References
- https://access.redhat.com/security/cve/CVE-2021-4041Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2028074Issue Tracking, Patch, Vendor Advisory
- https://github.com/ansible/ansible-runner/commit/3533f265f4349a3f2a0283158cd01b59a6bbc7bdPatch, Third Party Advisory
- https://access.redhat.com/security/cve/CVE-2021-4041Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2028074Issue Tracking, Patch, Vendor Advisory
- https://github.com/ansible/ansible-runner/commit/3533f265f4349a3f2a0283158cd01b59a6bbc7bdPatch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-4041?
How severe is CVE-2021-4041?
How do I fix CVE-2021-4041?
Are you affected by CVE-2021-4041?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
