CVE-2021-3583
Ansible Tower vulnerability analysis and mitigation

Overview

CVE-2021-3583 is a template injection vulnerability discovered in Ansible, where a user's controller becomes vulnerable when using templates in multi-line YAML strings. The vulnerability was disclosed on September 22, 2021, affecting various versions of Ansible across multiple platforms. The issue specifically occurs when facts being handled in templates don't routinely include special template characters (Ubuntu Security, Red Hat Portal).

Technical details

The vulnerability has a CVSS 3.1 base score of 7.1 (High), with the following metrics: Attack Vector: Local, Attack Complexity: Low, Privileges Required: Low, User Interaction: None, Scope: Unchanged, Confidentiality: High, Integrity: High, Availability: None. The vulnerability vector string is CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N (Ubuntu Security).

Impact

The vulnerability allows attackers to perform command injection through template injection, which can lead to the disclosure of sensitive information and compromise system integrity. The highest threat from this vulnerability is to confidentiality and integrity, while availability is not affected (Ubuntu Security, Red Hat Portal).

Mitigation and workarounds

The vulnerability has been fixed in multiple versions across different distributions: Ubuntu 22.04 LTS (2.10.7+merged+base+2.10.8+dfsg-1ubuntu0.1~esm1), Ubuntu 20.04 LTS (2.9.6+dfsg-1ubuntu0.1~esm1), Ubuntu 18.04 LTS (2.5.1+dfsg-1ubuntu0.1+esm1), and Ubuntu 16.04 LTS (2.0.0.2-2ubuntu1.3+esm1). Red Hat has addressed this in Ansible Engine 2.9.23 (Ubuntu Security Notice, Red Hat Portal).

Additional resources


SourceThis report was generated using AI

Related Ansible Tower vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2021-4112HIGH8.8
  • Ansible TowerAnsible Tower
  • cpe:2.3:a:redhat:ansible_tower
NoYesAug 25, 2022
CVE-2021-3583HIGH7.1
  • Ansible TowerAnsible Tower
  • cpe:2.3:a:redhat:ansible_tower
NoYesSep 22, 2021
CVE-2020-14327MEDIUM5.5
  • Ansible TowerAnsible Tower
  • cpe:2.3:a:redhat:ansible_tower
NoYesMay 27, 2021
CVE-2020-14329LOW3.3
  • Ansible TowerAnsible Tower
  • cpe:2.3:a:redhat:ansible_tower
NoYesMay 27, 2021
CVE-2020-14328LOW3.3
  • Ansible TowerAnsible Tower
  • cpe:2.3:a:redhat:ansible_tower
NoYesMay 27, 2021

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management