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.
References
Link | Resource |
---|---|
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 |
Configurations
Configuration 1 (hide)
|
History
21 Nov 2024, 06:36
Type | Values Removed | Values Added |
---|---|---|
References | () https://access.redhat.com/security/cve/CVE-2021-4041 - Vendor Advisory | |
References | () https://bugzilla.redhat.com/show_bug.cgi?id=2028074 - Issue Tracking, Patch, Vendor Advisory | |
References | () https://github.com/ansible/ansible-runner/commit/3533f265f4349a3f2a0283158cd01b59a6bbc7bd - Patch, Third Party Advisory |
Information
Published : 2022-08-24 16:15
Updated : 2024-11-21 06:36
NVD link : CVE-2021-4041
Mitre link : CVE-2021-4041
CVE.ORG link : CVE-2021-4041
JSON object : View
Products Affected
redhat
- ansible_runner