Search for vulnerabilities
Vulnerability details: VCID-xhtk-kssv-aaad
Vulnerability ID VCID-xhtk-kssv-aaad
Aliases CVE-2021-3583
GHSA-2pfh-q76x-gwvm
PYSEC-2021-358
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.
Status Published
Exploitability 0.5
Weighted Severity 8.0
Risk 4.0
Affected and Fixed Packages Package Details
Weaknesses (5)
System Score Found at
rhas Important https://access.redhat.com/errata/RHSA-2021:2663
rhas Important https://access.redhat.com/errata/RHSA-2021:2664
cvssv3 6.6 https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-3583.json
epss 0.00044 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00044 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00044 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00044 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00044 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00044 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00044 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00044 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00044 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00044 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00044 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00044 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00044 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00044 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00044 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00044 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.00388 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
epss 0.009 https://api.first.org/data/v1/epss?cve=CVE-2021-3583
rhbs high https://bugzilla.redhat.com/show_bug.cgi?id=1968412
cvssv3.1 6.6 https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
cvssv3.1_qr HIGH https://github.com/advisories/GHSA-2pfh-q76x-gwvm
cvssv3.1 5.0 https://github.com/ansible/ansible
generic_textual MODERATE https://github.com/ansible/ansible
cvssv3.1 7.1 https://github.com/ansible/ansible/commit/03aff644cc1c00e1f7551195c68fbd0d13a39e6e
generic_textual HIGH https://github.com/ansible/ansible/commit/03aff644cc1c00e1f7551195c68fbd0d13a39e6e
cvssv3.1 7.1 https://github.com/ansible/ansible/commit/8aa850e3573e48c9a2f12aef84e8a3a6f5ba4847
generic_textual HIGH https://github.com/ansible/ansible/commit/8aa850e3573e48c9a2f12aef84e8a3a6f5ba4847
cvssv3.1 7.1 https://github.com/ansible/ansible/commit/8b17e5b9229ffaecfe10a4881bc3f87dd2c184e1
generic_textual HIGH https://github.com/ansible/ansible/commit/8b17e5b9229ffaecfe10a4881bc3f87dd2c184e1
cvssv3.1 7.1 https://github.com/ansible/ansible/pull/74960
generic_textual HIGH https://github.com/ansible/ansible/pull/74960
cvssv3.1 7.1 https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2021-358.yaml
generic_textual HIGH https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2021-358.yaml
cvssv3.1 6.3 https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html
generic_textual MODERATE https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html
cvssv2 3.6 https://nvd.nist.gov/vuln/detail/CVE-2021-3583
cvssv3 7.1 https://nvd.nist.gov/vuln/detail/CVE-2021-3583
cvssv3.1 7.1 https://nvd.nist.gov/vuln/detail/CVE-2021-3583
cvssv3.1 7.1 https://pypi.org/project/ansible/4.2.0
generic_textual HIGH https://pypi.org/project/ansible/4.2.0
archlinux Medium https://security.archlinux.org/AVG-2260
Reference id Reference type URL
https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-3583.json
https://api.first.org/data/v1/epss?cve=CVE-2021-3583
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3583
https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
https://github.com/ansible/ansible
https://github.com/ansible/ansible/commit/03aff644cc1c00e1f7551195c68fbd0d13a39e6e
https://github.com/ansible/ansible/commit/8aa850e3573e48c9a2f12aef84e8a3a6f5ba4847
https://github.com/ansible/ansible/commit/8b17e5b9229ffaecfe10a4881bc3f87dd2c184e1
https://github.com/ansible/ansible/pull/74960
https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2021-358.yaml
https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html
https://pypi.org/project/ansible/4.2.0
https://pypi.org/project/ansible/4.2.0/
1968412 https://bugzilla.redhat.com/show_bug.cgi?id=1968412
AVG-2260 https://security.archlinux.org/AVG-2260
cpe:2.3:a:redhat:ansible_automation_platform:1.2:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:redhat:ansible_automation_platform:1.2:*:*:*:*:*:*:*
cpe:2.3:a:redhat:ansible_engine:*:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:redhat:ansible_engine:*:*:*:*:*:*:*:*
cpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:*
CVE-2021-3583 https://nvd.nist.gov/vuln/detail/CVE-2021-3583
GHSA-2pfh-q76x-gwvm https://github.com/advisories/GHSA-2pfh-q76x-gwvm
RHSA-2021:2663 https://access.redhat.com/errata/RHSA-2021:2663
RHSA-2021:2664 https://access.redhat.com/errata/RHSA-2021:2664
USN-USN-5315-1 https://usn.ubuntu.com/USN-5315-1/
No exploits are available.
Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N Found at https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-3583.json
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N Found at https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N Found at https://github.com/ansible/ansible
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N Found at https://github.com/ansible/ansible/commit/03aff644cc1c00e1f7551195c68fbd0d13a39e6e
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N Found at https://github.com/ansible/ansible/commit/8aa850e3573e48c9a2f12aef84e8a3a6f5ba4847
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N Found at https://github.com/ansible/ansible/commit/8b17e5b9229ffaecfe10a4881bc3f87dd2c184e1
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N Found at https://github.com/ansible/ansible/pull/74960
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N Found at https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2021-358.yaml
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N Found at https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: AV:L/AC:L/Au:N/C:P/I:P/A:N Found at https://nvd.nist.gov/vuln/detail/CVE-2021-3583
Exploitability (E) Access Vector (AV) Access Complexity (AC) Authentication (Au) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

high

functional

unproven

proof_of_concept

not_defined

local

adjacent_network

network

high

medium

low

multiple

single

none

none

partial

complete

none

partial

complete

none

partial

complete

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N Found at https://nvd.nist.gov/vuln/detail/CVE-2021-3583
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N Found at https://nvd.nist.gov/vuln/detail/CVE-2021-3583
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N Found at https://pypi.org/project/ansible/4.2.0
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Exploit Prediction Scoring System (EPSS)
Percentile 0.13628
EPSS Score 0.00044
Published At Nov. 1, 2024, midnight
Date Actor Action Source VulnerableCode Version
There are no relevant records.