{"containers":{"cna":{"affected":[{"product":"ansible-runner","vendor":"n/a","versions":[{"status":"affected","version":"Fixed in ansible-runner 2.1.0"}]}],"descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","description":"CWE-20 -Improper Input Validation","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2022-08-24T15:11:13.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","shortName":"redhat"},"references":[{"tags":["x_refsource_MISC"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2028074"},{"tags":["x_refsource_MISC"],"url":"https://access.redhat.com/security/cve/CVE-2021-4041"},{"tags":["x_refsource_MISC"],"url":"https://github.com/ansible/ansible-runner/commit/3533f265f4349a3f2a0283158cd01b59a6bbc7bd"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"secalert@redhat.com","ID":"CVE-2021-4041","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"ansible-runner","version":{"version_data":[{"version_value":"Fixed in ansible-runner 2.1.0"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-20 -Improper Input Validation"}]}]},"references":{"reference_data":[{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=2028074","refsource":"MISC","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2028074"},{"name":"https://access.redhat.com/security/cve/CVE-2021-4041","refsource":"MISC","url":"https://access.redhat.com/security/cve/CVE-2021-4041"},{"name":"https://github.com/ansible/ansible-runner/commit/3533f265f4349a3f2a0283158cd01b59a6bbc7bd","refsource":"MISC","url":"https://github.com/ansible/ansible-runner/commit/3533f265f4349a3f2a0283158cd01b59a6bbc7bd"}]}}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-03T17:16:03.408Z"},"title":"CVE Program Container","references":[{"tags":["x_refsource_MISC","x_transferred"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2028074"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://access.redhat.com/security/cve/CVE-2021-4041"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/ansible/ansible-runner/commit/3533f265f4349a3f2a0283158cd01b59a6bbc7bd"}]}]},"cveMetadata":{"assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","assignerShortName":"redhat","cveId":"CVE-2021-4041","datePublished":"2022-08-24T15:11:13.000Z","dateReserved":"2021-12-02T00:00:00.000Z","dateUpdated":"2024-08-03T17:16:03.408Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"}