CVE-2021-3583
lowpriority · track · 28EPSS 0.009 · 59 %ileDEEURUUSEPSS · scored 2026-10-27
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.
remediations
Vendor fix, mitigation, or workaround guidance, as published by each source.
A vendor fix is available.
- Fixedansible-0:2.9.23-1.el8ap.noarch as a component of Red Hat Ansible Automation Platform 2.0 for RHEL 8redhat_csaf
Red Hat Ansible Automation Platform
https://access.redhat.com/errata/RHBA-2021:2703 - Fixedansible-0:2.9.23-1.el8ap.src as a component of Red Hat Ansible Automation Platform 2.0 for RHEL 8redhat_csaf
Red Hat Ansible Automation Platform
https://access.redhat.com/errata/RHBA-2021:2703 - Fixedansible-0:2.9.23-1.el7ae.noarch as a component of Red Hat Ansible Engine 2.9 for RHEL 7 Serverredhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:2663 - Fixedansible-0:2.9.23-1.el7ae.src as a component of Red Hat Ansible Engine 2.9 for RHEL 7 Serverredhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:2663 - Fixedansible-0:2.9.23-1.el8ae.noarch as a component of Red Hat Ansible Engine 2.9 for RHEL 8redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:2663 - Fixedansible-0:2.9.23-1.el8ae.src as a component of Red Hat Ansible Engine 2.9 for RHEL 8redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:2663 - Fixedansible-test-0:2.9.23-1.el7ae.noarch as a component of Red Hat Ansible Engine 2.9 for RHEL 7 Serverredhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:2663 - Fixedansible-test-0:2.9.23-1.el8ae.noarch as a component of Red Hat Ansible Engine 2.9 for RHEL 8redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:2663 - Fixedansible-0:2.9.23-1.el7ae.noarch as a component of Red Hat Ansible Engine 2 for RHEL 7redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:2664 - Fixedansible-0:2.9.23-1.el7ae.src as a component of Red Hat Ansible Engine 2 for RHEL 7redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:2664 - Fixedansible-0:2.9.23-1.el8ae.noarch as a component of Red Hat Ansible Engine 2 for RHEL 8redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:2664 - Fixedansible-0:2.9.23-1.el8ae.src as a component of Red Hat Ansible Engine 2 for RHEL 8redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:2664 - Fixedansible-test-0:2.9.23-1.el7ae.noarch as a component of Red Hat Ansible Engine 2 for RHEL 7redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:2664 - Fixedansible-test-0:2.9.23-1.el8ae.noarch as a component of Red Hat Ansible Engine 2 for RHEL 8redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:2664
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–high · 3.6–7.1
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (330)
Products and version ranges known to be affected.
- redhat ansible automation platform= 1.2nvdUScpe:2.3:a:redhat:ansible_automation_platform:*:*:*:*:*:*:*:*
advisories (6)
Vendor and ecosystem advisories describing this.
- RHBA-2021:2703Red Hat Bug Fix Advisory: Red Hat Ansible Automation Platform Product Release2021-07-13csaf · redhat_csafUS
Red Hat Ansible Automation Platform 2.0 is now available.
- RHSA-2021:2663Red Hat Security Advisory: Ansible security and bug fix update (2.9.23)2021-07-07csaf · redhat_csafUS
An update for ansible is now available for Ansible Engine 2.9 Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.
- RHSA-2021:2664Red Hat Security Advisory: Ansible security and bug fix update (2.9.23)2021-07-07csaf · redhat_csafUS
An update for ansible is now available for Ansible Engine 2 Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.
- WID-SEC-W-2022-1355Ansible: Schwachstelle ermöglicht Ausführen von beliebigem Programmcode und Offenlegung von DatenDeutsch2021-06-07csaf · cert_bundDE
Ein lokaler Angreifer kann eine Schwachstelle in Ansible ausnutzen, um beliebigen Programmcode mit den Rechten des Dienstes auszuführen und Daten offenzulegen
- GHSA-2pfh-q76x-gwvmImproper Input Validation and Command Injection in Ansible2021-09-23ghsa · osvUS
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.
- PYSEC-2021-3582021-09-22vendor · osvUS
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.
also known as (7)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (17)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2021-3583cnnvd
- https://bugzilla.redhat.com/show_bug.cgi?id=1968412cnnvd
- https://packetstormsecurity.com/files/163418/Red-Hat-Security-Advisory-2021-2664-01.htmlcnnvd
- https://packetstormsecurity.com/files/163504/Red-Hat-Security-Advisory-2021-2643-01.htmlcnnvd
- https://vigilance.fr/vulnerability/Ansible-Core-Base-vulnerability-via-Templating-Engine-Unsafe-Status-35748cnnvd
- https://www.auscert.org.au/bulletins/ESB-2021.2324cnnvd
- https://www.auscert.org.au/bulletins/ESB-2021.2388cnnvd
- https://www.auscert.org.au/bulletins/ESB-2024.0004cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan