CVE-2021-4041 ansible-runner vulnerable to shell command injection
HighCVSS 7.8
EPSS 0.33%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi ansible-runner(PyPI) | < 2.1.0 | 2.1.0 |
| pypi ansible-runner(PyPI) | = 1.0.1 | No fix listed |
| pypi ansible-runner(PyPI) | = 1.0.2 | No fix listed |
| pypi ansible-runner(PyPI) | = 1.0.3 | No fix listed |
| pypi ansible-runner(PyPI) | = 1.0.4 | No fix listed |
| pypi ansible-runner(PyPI) | = 1.0.5 | No fix listed |
| pypi ansible-runner(PyPI) | = 1.1.0 | No fix listed |
| pypi ansible-runner(PyPI) | = 1.1.1 | No fix listed |
| pypi ansible-runner(PyPI) | = 1.1.2 | No fix listed |
| pypi ansible-runner(PyPI) | = 1.2.0 | No fix listed |
| pypi ansible-runner(PyPI) | = 1.3.0 | No fix listed |
| pypi ansible-runner(PyPI) | = 1.3.1 | No fix listed |
| pypi ansible-runner(PyPI) | = 1.3.2 | No fix listed |
| pypi ansible-runner(PyPI) | = 1.3.3 | No fix listed |
| pypi ansible-runner(PyPI) | = 1.3.4 | No fix listed |
| pypi ansible-runner(PyPI) | = 1.4.0 | No fix listed |
| pypi ansible-runner(PyPI) | = 1.4.1 | No fix listed |
| pypi ansible-runner(PyPI) | = 1.4.2 | No fix listed |
| pypi ansible-runner(PyPI) | = 1.4.4 | No fix listed |
| pypi ansible-runner(PyPI) | = 1.4.5 | No fix listed |
| pypi ansible-runner(PyPI) | = 1.4.6 | No fix listed |
| pypi ansible-runner(PyPI) | = 1.4.7 | No fix listed |
| pypi ansible-runner(PyPI) | = 1.4.8 | No fix listed |
| pypi ansible-runner(PyPI) | = 1.4.9 | No fix listed |
| pypi ansible-runner(PyPI) | = 2.0.0 | No fix listed |
Show 24 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi ansible-runner(PyPI) | = 2.0.0.0a5 | No fix listed |
| pypi ansible-runner(PyPI) | = 2.0.0.0b1 | No fix listed |
| pypi ansible-runner(PyPI) | = 2.0.0.0rc1 | No fix listed |
| pypi ansible-runner(PyPI) | = 2.0.0.0rc2 | No fix listed |
| pypi ansible-runner(PyPI) | = 2.0.0.0rc3 | No fix listed |
| pypi ansible-runner(PyPI) | = 2.0.0a1 | No fix listed |
| pypi ansible-runner(PyPI) | = 2.0.0a2 | No fix listed |
| pypi ansible-runner(PyPI) | = 2.0.0a3 | No fix listed |
| pypi ansible-runner(PyPI) | = 2.0.0a4 | No fix listed |
| pypi ansible-runner(PyPI) | = 2.0.1 | No fix listed |
| pypi ansible-runner(PyPI) | = 2.0.2 | No fix listed |
| pypi ansible-runner(PyPI) | = 2.0.3 | No fix listed |
| pypi ansible-runner(PyPI) | = 2.0.4 | No fix listed |
| pypi ansible-runner(PyPI) | = 2.1.0.0a1 | No fix listed |
| pypi ansible-runner(PyPI) | = 2.1.0.0a2 | No fix listed |
| pypi ansible-runner(PyPI) | = 2.1.0.0b1 | No fix listed |
| ubuntu/ansible-runner(Ubuntu:22.04) | < 2.1.1-1 | 2.1.1-1 |
| debian/ansible-runner(Debian:12) | < 2.1.1-1 | 2.1.1-1 |
| debian/ansible-runner(Debian:13) | < 2.1.1-1 | 2.1.1-1 |
| debian/ansible-runner(Debian:14) | < 2.1.1-1 | 2.1.1-1 |
| redhat ansible runner | < 2.1.0 | 2.1.0 |
| redhat ansible runner | = 2.1.0-alpha1 | No fix listed |
| redhat ansible runner | = 2.1.0-alpha2 | No fix listed |
| redhat ansible runner | = 2.1.0-beta1 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- access.redhat.com vendor-advisory
- bugzilla.redhat.com issue-tracking patch vendor-advisory
- github.com vendor-advisory
- github.com product
- github.com
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- Debian Security Tracker CVE-2021-4041 vendor-advisory