CVE-2023-5764 Affecting ansible package, versions <2.5.1+dfsg-1ubuntu0.1+esm2


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.07% (23rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1804-ANSIBLE-6100523
  • published1 Jun 2025
  • disclosed12 Dec 2023

Introduced: 12 Dec 2023

CVE-2023-5764  (opens in a new tab)

How to fix?

Upgrade Ubuntu:18.04 ansible to version 2.5.1+dfsg-1ubuntu0.1+esm2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ansible package and not the ansible package as distributed by Ubuntu. See How to fix? for Ubuntu:18.04 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1