🛡️ CVE-2021-3583 on Debian — ansible
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.
Distribution advisory
This page covers CVE-2021-3583 as tracked by Debian, for the package ansible. The fix is available in version 5.4.0-1; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached with local access to the system, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability none.
Affected software
DEBIAN-CVE-2021-3583 is recorded against 2 packages.
- ansible (fixed in 5.4.0-1)
- ansible-core (fixed in 2.12.0-1)
Timeline and source
Published on 22 September 2021 and last revised on 4 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2021-3583 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| ansible | — | 5.4.0-1 |
| ansible-core | — | 2.12.0-1 |
References
Similar Threats
- Unknown CLSA-2025-1745052021
- Unknown CLSA-2025-1744709445
- Unknown CLSA-2025-1744719966
- Unknown CLSA-2025-1744628190
- Unknown CLSA-2025-1744116044
More DEBIAN CVE 2021 advisories
Browse all of DEBIAN CVE 2021 in the advisory index.
- DEBIAN-CVE-2021-3563
- DEBIAN-CVE-2021-3567
- DEBIAN-CVE-2021-3572
- DEBIAN-CVE-2021-3573
- DEBIAN-CVE-2021-3574
- DEBIAN-CVE-2021-3575
- DEBIAN-CVE-2021-3578
- DEBIAN-CVE-2021-3582
- DEBIAN-CVE-2021-3596
- DEBIAN-CVE-2021-3597
- DEBIAN-CVE-2021-3600
- DEBIAN-CVE-2021-3602
- DEBIAN-CVE-2021-3605
- DEBIAN-CVE-2021-3607
- DEBIAN-CVE-2021-3608
- DEBIAN-CVE-2021-3609
Site Security Check
Is ansible part of your stack?
DEBIAN-CVE-2021-3583 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.