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.
Advisories
Source ID Title
EUVD EUVD EUVD-2022-0003 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.
Github GHSA Github GHSA GHSA-6j58-grhv-2769 ansible-runner vulnerable to shell command injection
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2024-08-03T17:16:03.408Z

Reserved: 2021-12-02T00:00:00

Link: CVE-2021-4041

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-08-24T16:15:09.370

Modified: 2024-11-21T06:36:46.927

Link: CVE-2021-4041

cve-icon Redhat

Severity : Moderate

Publid Date: 2021-12-01T12:20:00Z

Links: CVE-2021-4041 - Bugzilla

cve-icon OpenCVE Enrichment

No data.