Vulnerability Name:

CVE-2021-3583 (CCN-209925)

Assigned:2021-09-21
Published:2021-09-21
Updated:2022-10-07
Summary: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.
CVSS v3 Severity:7.1 High (CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N)
6.2 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): None
6.6 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N)
5.8 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): None
CVSS v2 Severity:3.6 Low (CVSS v2 Vector: AV:L/AC:L/Au:N/C:P/I:P/A:N)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): None
6.2 Medium (CCN CVSS v2 Vector: AV:L/AC:L/Au:S/C:C/I:C/A:N)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): None
Vulnerability Type:CWE-94
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2021-3583

Source: CCN
Type: Red Hat Bugzilla - Bug 1968412
(CVE-2021-3583) - CVE-2021-3583 ansible: Template Injection through yaml multi-line strings with ansible facts used in template

Source: MISC
Type: Issue Tracking, Vendor Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1968412

Source: XF
Type: UNKNOWN
ansible-cve20213583-command-exec(209925)

Source: CCN
Type: Ansible Web site
Ansible is Simple IT Automation

Source: CCN
Type: IBM Security Bulletin 6560038 (Elastic Storage System)
Ansible vulnerability affects IBM Elastic Storage System (CVE-2021-3583)

Source: CCN
Type: IBM Security Bulletin 6610287 (Watson Speech Services Cartridge for Cloud Pak for Data)
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data is vulnerable to injection attacks in Ansible (CVE-2021-3583).

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2021-3583

Vulnerable Configuration:Configuration 1:
  • cpe:/a:redhat:ansible_automation_platform:1.2:*:*:*:*:*:*:*
  • OR cpe:/a:redhat:ansible_tower:*:*:*:*:*:*:*:* (Version < 3.7.0)
  • OR cpe:/a:redhat:ansible_engine:*:*:*:*:*:*:*:* (Version < 2.9.23)

  • Configuration CCN 1:
  • cpe:/a:redhat:ansible:*:*:*:*:*:*:*:*
  • AND
  • cpe:/a:ibm:elastic_storage_system:6.0.0:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:744
    P
    Important security update for SUSE Manager Client Tools (Important)
    2022-09-08
    oval:org.opensuse.security:def:111931
    P
    ansible-2.9.24-1.2 on GA media (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:84257
    P
    Security update for ansible (Important)
    2021-12-22
    oval:org.opensuse.security:def:84715
    P
    Security update for ansible (Important)
    2021-12-22
    oval:org.opensuse.security:def:39983
    P
    Security update for ansible (Important)
    2021-12-13
    oval:org.opensuse.security:def:44413
    P
    Security update for ansible (Important)
    2021-12-13
    oval:org.opensuse.security:def:105499
    P
    ansible-2.9.24-1.2 on GA media (Moderate)
    2021-10-01
    BACK
    redhat ansible automation platform 1.2
    redhat ansible tower *
    redhat ansible engine *
    redhat ansible *
    ibm elastic storage system 6.0.0