7.8
HIGH
CVE-2023-5764
Ansible Template Injection Vulnerability
Description

A template injection flaw was found in Ansible where a user's controller internal templating operations may remove the unsafe designation from template data. This issue could allow an attacker to use a specially crafted file to introduce templating injection when supplying templating data.

INFO

Published Date :

Dec. 12, 2023, 10:15 p.m.

Last Modified :

Sept. 16, 2024, 5:16 p.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2023-5764 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Redhat enterprise_linux
2 Redhat ansible
3 Redhat ansible_automation_platform
4 Redhat ansible_developer
5 Redhat ansible_inside
1 Fedoraproject fedora
2 Fedoraproject extra_packages_for_enterprise_linux
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2023-5764.

URL Resource
https://access.redhat.com/errata/RHSA-2023:7773 Vendor Advisory
https://access.redhat.com/security/cve/CVE-2023-5764 Vendor Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2247629 Issue Tracking Patch Vendor Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-5764 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-5764 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    Sep. 16, 2024

    Action Type Old Value New Value
    Removed Reference Red Hat, Inc. https://lists.fedoraproject.org/archives/list/[email protected]/message/X7Q6CHPVCHMZS5M7V22GOKFSXZAQ24EU/
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Apr. 25, 2024

    Action Type Old Value New Value
    Changed Description A template injection flaw was found in Ansible where a user's controller internal templating operations may remove the unsafe designation from template data. This issue could allow an attacker to use a specially crafted file to introduce code injection when supplying templating data. A template injection flaw was found in Ansible where a user's controller internal templating operations may remove the unsafe designation from template data. This issue could allow an attacker to use a specially crafted file to introduce templating injection when supplying templating data.
  • CVE Modified by [email protected]

    Jan. 01, 2024

    Action Type Old Value New Value
    Removed CVSS V3.1 Red Hat, Inc. AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
    Added CVSS V3.1 Red Hat, Inc. AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
  • Initial Analysis by [email protected]

    Dec. 20, 2023

    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:H
    Changed Reference Type https://access.redhat.com/errata/RHSA-2023:7773 No Types Assigned https://access.redhat.com/errata/RHSA-2023:7773 Vendor Advisory
    Changed Reference Type https://access.redhat.com/security/cve/CVE-2023-5764 No Types Assigned https://access.redhat.com/security/cve/CVE-2023-5764 Vendor Advisory
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=2247629 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=2247629 Issue Tracking, Patch, Vendor Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/X7Q6CHPVCHMZS5M7V22GOKFSXZAQ24EU/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/X7Q6CHPVCHMZS5M7V22GOKFSXZAQ24EU/ Third Party Advisory
    Added CWE NIST NVD-CWE-Other
    Added CPE Configuration OR *cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:* versions up to (excluding) 2.14.12 *cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:* versions from (including) 2.15.0 up to (excluding) 2.15.7 *cpe:2.3:a:redhat:ansible:2.16.0:-:*:*:*:*:*:* *cpe:2.3:a:redhat:ansible:2.16.0:beta1:*:*:*:*:*:* *cpe:2.3:a:redhat:ansible:2.16.0:beta2:*:*:*:*:*:* *cpe:2.3:a:redhat:ansible:2.16.0:rc1:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:a:redhat:ansible_automation_platform:2.4:*:*:*:*:*:*:* *cpe:2.3:a:redhat:ansible_developer:1.1:*:*:*:*:*:*:* *cpe:2.3:a:redhat:ansible_inside:1.2:*:*:*:*:*:*:* OR cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Dec. 20, 2023

    Action Type Old Value New Value
    Added Reference Red Hat, Inc. https://lists.fedoraproject.org/archives/list/[email protected]/message/X7Q6CHPVCHMZS5M7V22GOKFSXZAQ24EU/ [No types assigned]
  • CVE Modified by [email protected]

    Dec. 13, 2023

    Action Type Old Value New Value
    Added Reference Red Hat, Inc. https://access.redhat.com/errata/RHSA-2023:7773 [No types assigned]
  • CVE Received by [email protected]

    Dec. 12, 2023

    Action Type Old Value New Value
    Added Description A template injection flaw was found in Ansible where a user's controller internal templating operations may remove the unsafe designation from template data. This issue could allow an attacker to use a specially crafted file to introduce code injection when supplying templating data.
    Added Reference Red Hat, Inc. https://access.redhat.com/security/cve/CVE-2023-5764 [No types assigned]
    Added Reference Red Hat, Inc. https://bugzilla.redhat.com/show_bug.cgi?id=2247629 [No types assigned]
    Added CWE Red Hat, Inc. CWE-1336
    Added CVSS V3.1 Red Hat, Inc. AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-5764 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2023-5764 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.04 }} -0.00%

score

0.05752

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability