CVE-2021-3583
HIGH7.1EPSS 0.28%Improper Input Validation and Command Injection in Ansible
發布日:2021/9/23修改日:2024/9/6
描述
A flaw was found in Ansible, where a user's controller is vulnerable to template injection. This issue can occur through facts used in the template if the user is trying to put templates in multi-line YAML strings and the facts being handled do not routinely include special template characters. This flaw allows attackers to perform command injection, which discloses sensitive information. The highest threat from this vulnerability is to confidentiality and integrity.
受影響套件(4)
- Debian/ansiblefrom 0, < 2.10.7+merged+base+2.10.17+dfsg-0+deb11u1
- Debian/ansible-corefrom 0, < 2.12.0-1
- PyPI/ansiblefrom 0, < 2.9.23rc1
- PyPI/ansiblefrom 0, < 2.9.23
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | HIGH7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
參考連結(11)
- ADVISORYhttps://github.com/advisories/GHSA-2pfh-q76x-gwvm
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-3583
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2021-3583
- PATCHhttps://github.com/ansible/ansible
- WEBhttps://bugzilla.redhat.com/show_bug.cgi?id=1968412
- WEBhttps://github.com/ansible/ansible/commit/03aff644cc1c00e1f7551195c68fbd0d13a39e6e
- WEBhttps://github.com/ansible/ansible/commit/8aa850e3573e48c9a2f12aef84e8a3a6f5ba4847
- WEBhttps://github.com/ansible/ansible/commit/8b17e5b9229ffaecfe10a4881bc3f87dd2c184e1
- WEBhttps://github.com/ansible/ansible/pull/74960
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2021-358.yaml
- WEBhttps://lists.debian.org/debian-lts-announce/2023/12/msg00018.html