CVE-2021-3583
publishedansible: Template Injection through yaml multi-line strings with ansible facts used in template.
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | ansibleansible_tower 3.7, ansible_engine 2.9.23 | Affected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluationALAS2ANSIBLE2-2023-001 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | buster | ansible | Advisory build | 2.7.7+dfsg-1+deb10u2 | DLA-3695-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ansiblenoarch | Advisory build | 2.9.27-150000.1.14.1 | SUSE-SU-2022:3178-1 |
| Ubuntu | bionic | ansible | Advisory build | 2.5.1+dfsg-1ubuntu0.1+esm1 | USN-5315-1 |
| Amazon Linux | AL2 | ansiblenoarch | Listed in advisory | Not stated | ALAS2ANSIBLE2-2023-001 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ansiblenoarch | Advisory build | 2.9.27-150000.1.14.1 | SUSE-SU-2022:3178-1 |
Show 73 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | ansibleaarch64 | Advisory build | 2.9.24-1.2 | OPENSUSE-SU-2024:10615-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansibleppc64le | Advisory build | 2.9.24-1.2 | OPENSUSE-SU-2024:10615-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansibles390x | Advisory build | 2.9.24-1.2 | OPENSUSE-SU-2024:10615-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansiblex86_64 | Advisory build | 2.9.24-1.2 | OPENSUSE-SU-2024:10615-1 |
| Ubuntu | focal | ansible | Advisory build | 2.9.6+dfsg-1ubuntu0.1~esm1 | USN-5315-1 |
| Ubuntu | jammy | ansible | Advisory build | 2.10.7+merged+base+2.10.8+dfsg-1ubuntu0.1~esm1 | USN-5315-1 |
| Ubuntu | xenial | ansible | Advisory build | 2.0.0.2-2ubuntu1.3+esm1 | USN-5315-1 |
| SUSE / openSUSE | SLE-15 | golang-github-prometheus-node_exporteraarch64 | Advisory build | 1.3.0-150000.3.15.1 | SUSE-SU-2022:3178-1 |
| SUSE / openSUSE | SLE-15 | golang-github-prometheus-node_exporterppc64le | Advisory build | 1.3.0-150000.3.15.1 | SUSE-SU-2022:3178-1 |
| SUSE / openSUSE | SLE-15 | golang-github-prometheus-node_exporters390x | Advisory build | 1.3.0-150000.3.15.1 | SUSE-SU-2022:3178-1 |
| SUSE / openSUSE | SLE-15 | golang-github-prometheus-node_exporterx86_64 | Advisory build | 1.3.0-150000.3.15.1 | SUSE-SU-2022:3178-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ansible-docnoarch | Advisory build | 2.9.27-150000.1.14.1 | SUSE-SU-2022:3178-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ansible-testnoarch | Advisory build | 2.9.27-150000.1.14.1 | SUSE-SU-2022:3178-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | dracut-saltbootnoarch | Advisory build | 0.1.1657643023.0d694ce-150000.1.35.1 | SUSE-SU-2022:3178-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | golang-github-QubitProducts-exporter_exporteraarch64 | Advisory build | 0.4.0-150000.1.15.1 | SUSE-SU-2022:3178-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | golang-github-QubitProducts-exporter_exporterppc64le | Advisory build | 0.4.0-150000.1.15.1 | SUSE-SU-2022:3178-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | golang-github-QubitProducts-exporter_exporters390x | Advisory build | 0.4.0-150000.1.15.1 | SUSE-SU-2022:3178-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | golang-github-QubitProducts-exporter_exporterx86_64 | Advisory build | 0.4.0-150000.1.15.1 | SUSE-SU-2022:3178-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | python2-hwdatanoarch | Advisory build | 2.3.5-150000.3.9.1 | SUSE-SU-2022:3178-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | python3-hwdatanoarch | Advisory build | 2.3.5-150000.3.9.1 | SUSE-SU-2022:3178-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | spacecmdnoarch | Advisory build | 4.3.14-150000.3.83.1 | SUSE-SU-2022:3178-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ansible-docnoarch | Advisory build | 2.9.27-150000.1.14.1 | SUSE-SU-2022:3178-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ansible-testnoarch | Advisory build | 2.9.27-150000.1.14.1 | SUSE-SU-2022:3178-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | dracut-saltbootnoarch | Advisory build | 0.1.1657643023.0d694ce-150000.1.35.1 | SUSE-SU-2022:3178-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | golang-github-QubitProducts-exporter_exporteraarch64 | Advisory build | 0.4.0-150000.1.15.1 | SUSE-SU-2022:3178-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | golang-github-QubitProducts-exporter_exporterppc64le | Advisory build | 0.4.0-150000.1.15.1 | SUSE-SU-2022:3178-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | golang-github-QubitProducts-exporter_exporters390x | Advisory build | 0.4.0-150000.1.15.1 | SUSE-SU-2022:3178-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | golang-github-QubitProducts-exporter_exporterx86_64 | Advisory build | 0.4.0-150000.1.15.1 | SUSE-SU-2022:3178-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | prometheus-blackbox_exporteraarch64 | Advisory build | 0.19.0-150000.1.11.1 | SUSE-SU-2022:3178-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | prometheus-blackbox_exporterppc64le | Advisory build | 0.19.0-150000.1.11.1 | SUSE-SU-2022:3178-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | prometheus-blackbox_exporters390x | Advisory build | 0.19.0-150000.1.11.1 | SUSE-SU-2022:3178-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | prometheus-blackbox_exporterx86_64 | Advisory build | 0.19.0-150000.1.11.1 | SUSE-SU-2022:3178-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | python3-hwdatanoarch | Advisory build | 2.3.5-150000.3.9.1 | SUSE-SU-2022:3178-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | spacecmdnoarch | Advisory build | 4.3.14-150000.3.83.1 | SUSE-SU-2022:3178-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | wireaarch64 | Advisory build | 0.5.0-150000.1.6.1 | SUSE-SU-2022:3178-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | wireppc64le | Advisory build | 0.5.0-150000.1.6.1 | SUSE-SU-2022:3178-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | wires390x | Advisory build | 0.5.0-150000.1.6.1 | SUSE-SU-2022:3178-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | wirex86_64 | Advisory build | 0.5.0-150000.1.6.1 | SUSE-SU-2022:3178-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-10aarch64 | Advisory build | 10.6.0-1.1 | OPENSUSE-SU-2024:14536-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-10ppc64le | Advisory build | 10.6.0-1.1 | OPENSUSE-SU-2024:14536-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-10s390x | Advisory build | 10.6.0-1.1 | OPENSUSE-SU-2024:14536-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-10x86_64 | Advisory build | 10.6.0-1.1 | OPENSUSE-SU-2024:14536-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-11aarch64 | Advisory build | 11.11.0-1.1 | OPENSUSE-SU-2025:15605-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-11ppc64le | Advisory build | 11.11.0-1.1 | OPENSUSE-SU-2025:15605-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-11s390x | Advisory build | 11.11.0-1.1 | OPENSUSE-SU-2025:15605-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-11x86_64 | Advisory build | 11.11.0-1.1 | OPENSUSE-SU-2025:15605-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-12aarch64 | Advisory build | 12.2.0-1.1 | OPENSUSE-SU-2025:15753-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-12ppc64le | Advisory build | 12.2.0-1.1 | OPENSUSE-SU-2025:15753-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-12s390x | Advisory build | 12.2.0-1.1 | OPENSUSE-SU-2025:15753-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-12x86_64 | Advisory build | 12.2.0-1.1 | OPENSUSE-SU-2025:15753-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-13aarch64 | Advisory build | 13.7.0-1.1 | OPENSUSE-SU-2026:10944-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-13ppc64le | Advisory build | 13.7.0-1.1 | OPENSUSE-SU-2026:10944-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-13s390x | Advisory build | 13.7.0-1.1 | OPENSUSE-SU-2026:10944-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-13x86_64 | Advisory build | 13.7.0-1.1 | OPENSUSE-SU-2026:10944-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-14aarch64 | Advisory build | 14.6.0-1.1 | OPENSUSE-SU-2026:12447-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-14ppc64le | Advisory build | 14.6.0-1.1 | OPENSUSE-SU-2026:12447-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-14s390x | Advisory build | 14.6.0-1.1 | OPENSUSE-SU-2026:12447-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-14x86_64 | Advisory build | 14.6.0-1.1 | OPENSUSE-SU-2026:12447-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-9aarch64 | Advisory build | 9.8.0-1.1 | OPENSUSE-SU-2024:14244-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-9ppc64le | Advisory build | 9.8.0-1.1 | OPENSUSE-SU-2024:14244-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-9s390x | Advisory build | 9.8.0-1.1 | OPENSUSE-SU-2024:14244-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-9x86_64 | Advisory build | 9.8.0-1.1 | OPENSUSE-SU-2024:14244-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-docaarch64 | Advisory build | 2.9.24-1.2 | OPENSUSE-SU-2024:10615-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-docppc64le | Advisory build | 2.9.24-1.2 | OPENSUSE-SU-2024:10615-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-docs390x | Advisory build | 2.9.24-1.2 | OPENSUSE-SU-2024:10615-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-docx86_64 | Advisory build | 2.9.24-1.2 | OPENSUSE-SU-2024:10615-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-testaarch64 | Advisory build | 2.9.24-1.2 | OPENSUSE-SU-2024:10615-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-testppc64le | Advisory build | 2.9.24-1.2 | OPENSUSE-SU-2024:10615-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-tests390x | Advisory build | 2.9.24-1.2 | OPENSUSE-SU-2024:10615-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-testx86_64 | Advisory build | 2.9.24-1.2 | OPENSUSE-SU-2024:10615-1 |
| Ubuntu | xenial | ansible-fireball | Advisory build | 2.0.0.2-2ubuntu1.3+esm1 | USN-5315-1 |
| Ubuntu | xenial | ansible-node-fireball | Advisory build | 2.0.0.2-2ubuntu1.3+esm1 | USN-5315-1 |
| Amazon Linux | AL2 | ansiblesrc | Listed in advisory | Not stated | ALAS2ANSIBLE2-2023-001 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | ansible | ansible_tower 3.7, ansible_engine 2.9.23 (affected) | redhat · cna |
Weaknesses
1- CWE-20 CWE-20->CWE-77
References
2- https://bugzilla.redhat.com/show_bug.cgi?id=1968412
- [debian-lts-announce] 20231228 [SECURITY] [DLA 3695-1] ansible security update https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 265a2d7c855ed1123986546063753cd55392eb9fd27b7b780e73c306db92f1b7
- Ingested
- 23 Sep 2026, 07:55:51 UTC
- Source record
- Official CVE record