Skip to content
Heist/ feed
Back to feed
HighFix available

ansible, ansible-core — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2023-5764

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.

Products
ansible, ansible-core
Affected versions
2.14.10-1, 2.14.11-1, 2.14.11-2, 2.14.13-1, 2.14.3-1, 2.14.6-1, 2.14.7-1, 2.14.8-1, 2.14.9-1, 2.14.9-2
Fixed versions
2.14.13-1, 2.14.16-0+deb12u1, 5.4.0-1
CVEs
CVE-2023-5764
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 16:31 UTC · Revision 1

Source evidence

DEBIAN-CVE-2023-5764

core-osv · Original source

Published 12 Dec 2023, 22:15 UTC

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.

osv:DEBIAN-CVE-2023-5764

ansible

Fixed versions: 5.4.0-1

ansible

Fixed versions: 5.4.0-1

ansible

Fixed versions: 5.4.0-1

ansible-core

Fixed versions: 2.14.16-0+deb12u1

ansible-core

Fixed versions: 2.14.13-1

ansible-core

Fixed versions: 2.14.13-1

Complete source record
{
  "id": "09ea39f1137e2cfd4f3e56f6f3a2315c3cb19e4da4a1060f7aa219494a875cf7",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2023-5764",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2023-5764",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2023-5764",
    "products": [
      {
        "name": {
          "value": "ansible",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.4.0-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "ansible",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.4.0-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "ansible",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.4.0-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "ansible-core",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.14.16-0+deb12u1",
            "evidence": "/affected/3/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "2.14.10-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "2.14.11-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "2.14.11-2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "2.14.13-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "2.14.3-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "2.14.6-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "2.14.7-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "2.14.8-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "2.14.9-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "2.14.9-2",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "ansible-core",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.14.13-1",
            "evidence": "/affected/4/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "ansible-core",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.14.13-1",
            "evidence": "/affected/5/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2023-5764",
      "aliases": [
        "DEBIAN-CVE-2023-5764"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.4.0-1"
                }
              ]
            }
          ],
          "package": {
            "name": "ansible",
            "purl": "pkg:deb/debian/ansible?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-5764.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.4.0-1"
                }
              ]
            }
          ],
          "package": {
            "name": "ansible",
            "purl": "pkg:deb/debian/ansible?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-5764.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.4.0-1"
                }
              ]
            }
          ],
          "package": {
            "name": "ansible",
            "purl": "pkg:deb/debian/ansible?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-5764.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.14.16-0+deb12u1"
                }
              ]
            }
          ],
          "package": {
            "name": "ansible-core",
            "purl": "pkg:deb/debian/ansible-core?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "2.14.10-1",
            "2.14.11-1",
            "2.14.11-2",
            "2.14.13-1",
            "2.14.3-1",
            "2.14.6-1",
            "2.14.7-1",
            "2.14.8-1",
            "2.14.9-1",
            "2.14.9-2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-5764.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.14.13-1"
                }
              ]
            }
          ],
          "package": {
            "name": "ansible-core",
            "purl": "pkg:deb/debian/ansible-core?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-5764.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.14.13-1"
                }
              ]
            }
          ],
          "package": {
            "name": "ansible-core",
            "purl": "pkg:deb/debian/ansible-core?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-5764.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-26T18:03:10.664407741Z",
      "provider": "osv",
      "upstream": [
        "CVE-2023-5764"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2023-5764"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2023-5764",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 457993,
  "published_at": "2023-12-12T22:15:22.747+00:00"
}