CVE-2021-3583
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | โ |
Arch Fixed 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Fixed | 2.11.3-1 |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 5.4.0-1 |
| sid | Fixed | 5.4.0-1 |
| forky | Fixed | 5.4.0-1 |
| bullseye | Fixed | 2.10.7+merged+base+2.10.17+dfsg-0+deb11u1 |
| bookworm | Fixed | 5.4.0-1 |
References
- 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://bugzilla.redhat.com/show_bug.cgi?id=1968412
- https://github.com/advisories/GHSA-2pfh-q76x-gwvm
- 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
- https://security-tracker.debian.org/tracker/CVE-2021-3583
- https://www.suse.com/security/cve/CVE-2021-3583.html
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.