CVE-2021-4041

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:redhat:ansible_runner:*:*:*:*:*:*:*:*
cpe:2.3:a:redhat:ansible_runner:2.1.0:alpha1:*:*:*:*:*:*
cpe:2.3:a:redhat:ansible_runner:2.1.0:alpha2:*:*:*:*:*:*
cpe:2.3:a:redhat:ansible_runner:2.1.0:beta1:*:*:*:*:*:*

History

No history.

Information

Published : 2022-08-24 16:15

Updated : 2024-02-28 19:29


NVD link : CVE-2021-4041

Mitre link : CVE-2021-4041

CVE.ORG link : CVE-2021-4041


JSON object : View

Products Affected

redhat

  • ansible_runner
CWE
CWE-116

Improper Encoding or Escaping of Output

CWE-20

Improper Input Validation