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.
Metrics
NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:
NIST: NVD
NVD assessment not yet provided.
CVSS 3.x Severity and Vector Strings:
NIST: NVD
Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
CVSS 2.0 Severity and Vector Strings:
NIST: NVD
Vector: (AV:L/AC:L/Au:N/C:P/I:P/A:N)
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://bugzilla.redhat.com/show_bug.cgi?id=1968412 | CVE, Inc., Red Hat | Issue Tracking Vendor Advisory |
| https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html | CVE, Inc., Red Hat |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') |
|
| CWE-20 | Improper Input Validation | Red Hat, Inc. |
Known Affected Software Configurations Switch to CPE 2.2
Change History
7 change records found show changes
CVE Modified by Red Hat, Inc. 6/17/2026 12:05:23 AM
| Action | Type | Old Value | New Value |
|---|---|---|---|
| Added | Affected |
[{"vendor":"n/a","product":"ansible","versions":[{"version":"ansible_tower 3.7, ansible_engine 2.9.23","status":"affected"}]}]
|
CVE Modified by CVE 11/21/2024 1:21:54 AM
| Action | Type | Old Value | New Value |
|---|---|---|---|
| Added | Reference |
https://bugzilla.redhat.com/show_bug.cgi?id=1968412 |
|
| Added | Reference |
https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html |
CVE Modified by Red Hat, Inc. 5/14/2024 5:24:48 AM
| Action | Type | Old Value | New Value |
|---|
CVE Modified by Red Hat, Inc. 12/28/2023 2:15:12 PM
| Action | Type | Old Value | New Value |
|---|---|---|---|
| Added | Reference |
Red Hat, Inc. https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html [No types assigned] |
CVE Modified by Red Hat, Inc. 11/06/2023 10:38:07 PM
| Action | Type | Old Value | New Value |
|---|---|---|---|
| Removed | CWE |
Red Hat, Inc. CWE-77 |
Reanalysis by NIST 10/07/2022 4:22:30 PM
| Action | Type | Old Value | New Value |
|---|---|---|---|
| Added | CWE |
NIST CWE-94 |
|
| Removed | CWE |
NIST CWE-77 |
Initial Analysis by NIST 10/05/2021 12:12:52 PM
| Action | Type | Old Value | New Value |
|---|---|---|---|
| Added | CVSS V3.1 |
NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
|
| Added | CVSS V2 |
NIST (AV:L/AC:L/Au:N/C:P/I:P/A:N) |
|
| Added | CWE |
NIST CWE-77 |
|
| Added | CPE Configuration |
OR
*cpe:2.3:a:redhat:ansible_automation_platform:1.2:*:*:*:*:*:*:*
*cpe:2.3:a:redhat:ansible_engine:*:*:*:*:*:*:*:* versions up to (excluding) 2.9.23
*cpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:* versions up to (excluding) 3.7.0
|
|
| Changed | Reference Type |
https://bugzilla.redhat.com/show_bug.cgi?id=1968412 No Types Assigned |
https://bugzilla.redhat.com/show_bug.cgi?id=1968412 Issue Tracking, Vendor Advisory |