CVE & CISA-KEV Catalog

CVE-2021-3583

HIGH
7.1
CVSS v3
NVD

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.

How to fix

Remediation Available
ansibleDebian
Fixed in:2.10.7+merged+base+2.10.17+dfsg-0+deb11u1CVE-2021-3583
Fixed in:5.4.0-1CVE-2021-3583
Fixed in:5.4.0-1CVE-2021-3583
Fixed in:5.4.0-1CVE-2021-3583
ansibleUbuntu
Fixed in:2.0.0.2-2ubuntu1.3+esm1USN-5315-1
Fixed in:2.5.1+dfsg-1ubuntu0.1+esm1USN-5315-1
Fixed in:2.9.6+dfsg-1ubuntu0.1~esm1USN-5315-1
Fixed in:2.10.7+merged+base+2.10.8+dfsg-1ubuntu0.1~esm1USN-5315-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityNone

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Exploit Intelligence

0.85%probability of exploitation in 30 days
54thpercentile

Moderate risk: more likely to be exploited than 54% of all known CVEs.

References

Vendor Advisory1
Other references1

Related Vulnerabilities

Other CWE-20 (Improper Input Validation) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-3400Critical10.0100%KEV + Ransom-
CVE-2021-45105Medium5.9100%-Fix
CVE-2021-44228Critical10.0100%KEV + RansomFix
CVE-2021-21985Critical9.8100%KEV + RansomFix
CVE-2018-7600Critical9.8100%KEV + RansomFix
CVE-2020-3452High7.5100%KEVFix
Embed a live status badge for CVE-2021-3583
CVE-2021-3583 severity badge

Markdown

[![CVE-2021-3583](https://tridentstack.com/cve/badge/CVE-2021-3583.svg)](https://tridentstack.com/cve/CVE-2021-3583)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-3583"><img src="https://tridentstack.com/cve/badge/CVE-2021-3583.svg" alt="CVE-2021-3583"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.