🛡️ CVE-2021-3583 — ansible

🟠 CVSS 8.0 — High ✅ No Known Exploit CWE-20 OSV
8.0
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Improper Input Validation and Command Injection in Ansible

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 this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. Rated impact: confidentiality high, integrity high, availability none.

Weakness class

CVE-2021-3583 is classified as CWE-20: Improper Input Validation. The application accepts input without checking that it has the expected form, so malformed values reach code that assumes they are well formed.

Affected software

CVE-2021-3583 is recorded against 1 package.

  • ansible (from 2.11.0a1 up to 2.11.2rc1)

Timeline and source

Published on 23 September 2021 and last revised on 6 September 2024. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

nvd.nist.gov (Advisory)
github.com (Web)
github.com (Web)
github.com (Web)
github.com (Web)
bugzilla.redhat.com (Web)
github.com (Advisory)
github.com (Package)
github.com (Web)
lists.debian.org (Web)

CVE-2021-3583 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity HIGH
CVSS Score 8.0
CVSS Vector CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
CWE CWE-20
Public Exploit ✅ No
Source OSV
Published 2021-09-23
Updated 2026-08-12
Modified 2024-09-06
Fix URL N/A

Affected Packages

Software From version Fixed in
ansible 2.11.0a1 2.11.2rc1

Site Security Check

Is ansible part of your stack?

CVE-2021-3583 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.