CVE-2021-4041
HIGH7.8EPSS 0.07%ansible-runner vulnerable to shell command injection
發布日:2022/8/25修改日:2026/4/28
描述
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.
受影響套件(3)
- Debian/ansible-runnerfrom 0, < 2.1.1-1
- PyPI/ansible-runnerfrom 0, < 2.1.0
- PyPI/ansible-runnerfrom 0, < 3533f265f4349a3f2a0283158cd01b59a6bbc7bd | from 0, < 2.1.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | HIGH7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
參考連結(8)
- ADVISORYhttps://github.com/advisories/GHSA-6j58-grhv-2769
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-4041
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2021-4041
- PATCHhttps://github.com/ansible/ansible-runner
- WEBhttps://access.redhat.com/security/cve/CVE-2021-4041
- WEBhttps://bugzilla.redhat.com/show_bug.cgi?id=2028074
- WEBhttps://github.com/ansible/ansible-runner/commit/3533f265f4349a3f2a0283158cd01b59a6bbc7bd
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/ansible-runner/PYSEC-2022-253.yaml