CVE-2021-4041Improper Input Validation in Redhat Ansible Runner

Severity
7.8HIGHNVD
EPSS
0.1%
top 78.52%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedAug 24
Latest updateAug 25

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.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExploitability: 1.8 | Impact: 5.9

Affected Packages1 packages

NVDredhat/ansible_runner< 2.1.0+1

Patches

🔴Vulnerability Details

4
OSV
ansible-runner vulnerable to shell command injection2022-08-25
GHSA
ansible-runner vulnerable to shell command injection2022-08-25
CVEList
CVE-2021-4041: A flaw was found in ansible-runner2022-08-24
OSV
CVE-2021-4041: A flaw was found in ansible-runner2022-08-24

📋Vendor Advisories

2
Red Hat
Ansible: Improper shell escaping in ansible-runner2021-12-01
Debian
CVE-2021-4041: ansible-runner - A flaw was found in ansible-runner. An improper escaping of the shell command, w...2021
CVE-2021-4041 — Improper Input Validation in Redhat | cvebase