CVE-2021-3583

ansible: Template Injection through yaml multi-line strings with ansible facts used in template.

Published Sep 22, 2021 CVSS 3.1 · 7.1 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3695-1 ansible security update
Github GHSA Github GHSA GHSA-2pfh-q76x-gwvm Improper Input Validation and Command Injection in Ansible
Ubuntu USN Ubuntu USN USN-5315-1 Ansible vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 3, 2024, 5:01 PM
Reserved
Jun 7, 2021, 12:00 AM
Status
Modified
Published
Sep 22, 2021, 12:15 PM
Modified
Jun 17, 2026, 4:05 AM
Severity
Important
Public date
Jun 8, 2021, 12:00 AM