Improper Input Validation and Command Injection in Ansible
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.
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Python (PyPI) | ansible | < 2.9.23rc1, >= 2.10.0a1, < 2.10.11rc1, >= 2.11.0a1, < 2.11.2rc1 | 2.9.23rc1, 2.10.11rc1, 2.11.2rc1 |
Verweise
- https://bugzilla.redhat.com/show_bug.cgi?id=1968412
- https://github.com/advisories/GHSA-2pfh-q76x-gwvm
- https://nvd.nist.gov/vuln/detail/CVE-2021-3583
- https://github.com/ansible/ansible/pull/74960
- https://github.com/ansible/ansible/commit/03aff644cc1c00e1f7551195c68fbd0d13a39e6e
- https://github.com/ansible/ansible/commit/8aa850e3573e48c9a2f12aef84e8a3a6f5ba4847
- https://github.com/ansible/ansible/commit/8b17e5b9229ffaecfe10a4881bc3f87dd2c184e1
- https://github.com/ansible/ansible
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2021-358.yaml
- https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html
- CVSS-Vektor
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N- Schwäche (CWE)
CWE-20, CWE-77, CWE-94- Plattform
- Python (PyPI)
- Paket
ansible- Veröffentlicht
- 22.09.2021
- Aktualisiert
- 11.10.2026 11:19
Quellen und Lizenzen
OSV / GitHub Advisory Database - PYSEC-2021-358 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-2pfh-q76x-gwvm - CC BY 4.0
Schwachstellenhistorie: ansible
Alle veröffentlichten Schwachstellen dieses Pakets (Python (PyPI)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 68
- Erste → letzte
- 09.2013 12.2025
- Ohne Fix
- 2
- In Angriffen ausgenutzt
- 0
Verteilung nach Schweregrad
- Kritisch 9
- Hoch 24
- Mittel 27
- Niedrig 6
- Nicht bewertet 2
Veröffentlichungen pro Jahr
- 2017: 3
- 2018: 12
- 2019: 8
- 2020: 29
- 2021: 7
- 2022: 3
- 2023: 1
- 2024: 0
- 2025: 1
- 2026: 0
früher: 4
-
Improper Input Validation and Command Injection in Ansible dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.