CVE-2021-3583

medium
Published 2021-09-23 · Modified 2023-11-08
CVSS v3
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
CVSS v2
VIR risk
5.5

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

Exploit likelihood
20%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2021-3583.html

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2021-3583

OS impact

OSVersionStatusFixed in
debian debianbookwormfixed5.4.0-1
debian debianforkyfixed5.4.0-1
debian debiansidfixed5.4.0-1
debian debianbullseyefixed2.10.7+merged+base+2.10.17+dfsg-0+deb11u1
debian debiantrixiefixed5.4.0-1
arch archfixed2.11.3-1
suse slesaffected

Package impact

EcosystemPackageVulnerableFixed
python PyPIansible<2.9.23rc12.9.23rc1
python PyPIansible>=2.10.0a1,<2.10.11rc12.10.11rc1
python PyPIansible>=2.11.0a1,<2.11.2rc12.11.2rc1
python PyPIansible<2.9.232.9.23

References

Verify integrity in audit chain (admin only). AS-IS.