
CVE catalog
CVE-2021-3583
ansible: CVE-2021-3583
- Severity
- Medium · CVSS 6.6
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.90% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | ansible | sid | 14.4.0+dfsg-1 | fixed |
| Debian | ansible | forky | 14.0.0+dfsg-1 | fixed |
| Debian | ansible | trixie | 12.0.0+dfsg-0+deb13u1 | fixed |
| Debian | ansible | bookworm | 7.7.0+dfsg-3+deb12u1 | fixed |
| Debian | ansible-core | sid | 2.22.0~beta2-1 | fixed |
| Debian | ansible-core | forky | 2.22.0~beta2-1 | fixed |
| Debian | ansible-core | trixie | 2.19.11-0+deb13u1 | fixed |
| Debian | ansible-core | bookworm | 2.14.18-0+deb12u2 | fixed |
| Suse | ansible | hpe helion openstack 8 | 2.9.27-3.21.1 | fixed |
| Suse | ansible | openstack cloud 8 | 2.9.27-3.21.1 | fixed |
| Suse | ansible | openstack cloud crowbar 8 | 2.9.27-3.21.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | ansible | source | sid | 5.4.0-1 | not yet assigned | Not reported | Not reported |
| Debian | ansible | source | forky | 5.4.0-1 | not yet assigned | Not reported | Not reported |
| Debian | ansible | source | trixie | 5.4.0-1 | not yet assigned | Not reported | Not reported |
| Debian | ansible | source | bookworm | 5.4.0-1 | not yet assigned | Not reported | Not reported |
| Debian | ansible-core | source | sid | 2.12.0-1 | not yet assigned | Not reported | Not reported |
| Debian | ansible-core | source | forky | 2.12.0-1 | not yet assigned | Not reported | Not reported |
| Debian | ansible-core | source | trixie | 2.12.0-1 | not yet assigned | Not reported | Not reported |
| Debian | ansible-core | source | bookworm | 2.12.0-1 | not yet assigned | Not reported | Not reported |
| Suse | ansible | rpm | hpe helion openstack 8 | 2.9.27-3.21.1 | Not reported | SUSE-SU-2021:4152-1 | Not reported |
| Suse | ansible | rpm | openstack cloud 8 | 2.9.27-3.21.1 | Not reported | SUSE-SU-2021:4152-1 | Not reported |
| Suse | ansible | rpm | openstack cloud crowbar 8 | 2.9.27-3.21.1 | Not reported | SUSE-SU-2021:4152-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [ansible]Fixed
Details (2)
7.7.0+dfsg-3+deb12u1· all · bookwormFixed · Fixed:
5.4.0-1dsa · ansible · debian · bookworm; dsa · ansible · debian · 12
7.7.0+dfsg-3+deb12u1· all · bookwormFixed · Fixed:
5.4.0-1dsa · ansible · debian · bookworm; dsa · ansible · debian · 12
- [ansible-core]Fixed
Details (2)
2.14.18-0+deb12u2· all · bookwormFixed · Fixed:
2.12.0-1dsa · ansible-core · debian · bookworm; dsa · ansible-core · debian · 12
2.14.18-0+deb12u2· all · bookwormFixed · Fixed:
2.12.0-1dsa · ansible-core · debian · bookworm; dsa · ansible-core · debian · 12
[Debian 13 (Trixie)]
- [ansible]Fixed
Details (2)
12.0.0+dfsg-0+deb13u1· all · trixieFixed · Fixed:
5.4.0-1dsa · ansible · debian · 13
12.0.0+dfsg-0+deb13u1· all · trixieFixed · Fixed:
5.4.0-1dsa · ansible · debian · 13
- [ansible-core]Fixed
Details (2)
2.19.4-0+deb13u1· all · trixieFixed · Fixed:
2.12.0-1dsa · ansible-core · debian · 13
2.19.4-0+deb13u1· all · trixieFixed · Fixed:
2.12.0-1dsa · ansible-core · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2021_4152-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-3583]
- [https://osv.dev/vulnerability/SUSE-SU-2021:4152-1]
- [https://security-tracker.debian.org/tracker/CVE-2021-3583]
- [https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-3583.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2021/wid-sec-w-2022-1355.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]