GHSA-2pfh-q76x-gwvm
Improper Input Validation and Command Injection in Ansible
En bref
- Publiée
- Mise à jour
- CVE
- CVE-2021-3583
- Alias
- PYSEC-2021-358
- CVSS_V3
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- CVSS_V4
- 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
Description
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.
Paquets affectés
| Paquet | Versions |
|---|---|
| PyPI · ansible | introduced 0, fixed 2.9.23rc1 |
| PyPI · ansible | introduced 2.10.0a1, fixed 2.10.11rc1 |
| PyPI · ansible | introduced 2.11.0a1, fixed 2.11.2rc1 |
Références
- https://nvd.nist.gov/vuln/detail/CVE-2021-3583 ADVISORY
- https://github.com/ansible/ansible/pull/74960 WEB
- https://github.com/ansible/ansible/commit/03aff644cc1c00e1f7551195c68fbd0d13a39e6e WEB
- https://github.com/ansible/ansible/commit/8aa850e3573e48c9a2f12aef84e8a3a6f5ba4847 WEB
- https://github.com/ansible/ansible/commit/8b17e5b9229ffaecfe10a4881bc3f87dd2c184e1 WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=1968412 WEB
- https://github.com/advisories/GHSA-2pfh-q76x-gwvm ADVISORY
- https://github.com/ansible/ansible PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2021-358.yaml WEB
- https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |