CVE-2021-3583
No exploitation reported by the sources we read.
- Published2021-09-22
- Fixed in2.11.2rc1 · 2.10.11rc1 · 2.9.23 · 2.9.23rc1
- WeaknessCWE-20 · CWE-94
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2021-09-2212:15CVE publishedNVD
Versions per branch
OSV · NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2.11 | ≥ 2.11.0a1, < 2.11.2rc1 | 2.11.2rc1 | OSV |
| 2.10 | ≥ 2.10.0a1, < 2.10.11rc1 | 2.10.11rc1 | OSV |
| 2.9 | < 2.9.23 | 2.9.23 | NVD · OSV |
| 2.9 | < 2.9.23rc1 | 2.9.23rc1 | OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.2 | = 1.2 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 3.7 | < 3.7.0 | 3.7.0 | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- ansibleUbuntu:Pro:22.04:LTSall versions · fixed in 2.10.7+merged+base+2.10.8+dfsg-1ubuntu0.1~esm1
- ansibleUbuntu:Pro:20.04:LTSall versions · fixed in 2.9.6+dfsg-1ubuntu0.1~esm1
- ansibleUbuntu:Pro:18.04:LTSall versions · fixed in 2.5.1+dfsg-1ubuntu0.1+esm1
- ansibleUbuntu:Pro:16.04:LTSall versions · fixed in 2.0.0.2-2ubuntu1.3+esm1
- ansibleUbuntu:26.10all versions · no fixed version listed
- ansibleUbuntu:26.04:LTSall versions · no fixed version listed
- ansibleUbuntu:25.10all versions · no fixed version listed
- ansibleUbuntu:24.04:LTSall versions · no fixed version listed
93 more package ranges on OSV.dev
Fix
- Update Redhat ansible engine to 2.11.2rc1 · 2.10.11rc1 · 2.9.23 · 2.9.23rc1
Advisories and patches
- bugzilla.redhat.comVendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-08
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVSS 3.17.1read 2026-10-23
- NVDCVSS 2.03.6read 2026-10-23
- CNAweakness (CWE)CWE-20known since 2026-10-23
- NVDweakness (CWE)CWE-94read 2026-10-23
- FIRST EPSSEPSS score0.9 %2026-11-08
- OSVaffected packages—
- GitHub AdvisoriesadvisoryHIGH2021-09-23
Identifiers
- AZL-6305same flawAzure Linux · MIT
- EUVD-2021-0010same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-2pfh-q76x-gwvmsame flawGitHub Advisory Database · CC-BY-4.0
- PYSEC-2021-358same flawPyPA Advisory Database · CC-BY-4.0
- DLA-3695-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2021-0420advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2025-1647advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2024:14244-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:14536-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2025:15605-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2025:15753-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2026:10944-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2026:12447-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHBA-2021:2703advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2021:2663advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2021:2664advisory covering several CVEsRed Hat · CC-BY-4.0
- SUSE-SU-2021:4152-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:3178-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2024:0196-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-5315-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- Published
- 2021-09-22
- Last Modified
- 2026-06-17
- NVD status
- Modified
- GitHub Advisory
- GHSA-2pfh-q76x-gwvm
Frequently asked questions
What is CVE-2021-3583?
Is CVE-2021-3583 actively exploited?
What is the CVSS score for CVE-2021-3583?
Running ansible? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-2pfh-q76x-gwvm
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served