Improper Encoding or Escaping of Output Affecting ansible-runner package, versions <2.1.1-1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.33% (25th 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-ECHOLATEST-ANSIBLERUNNER-20385028
  • published2 Oct 2026
  • disclosed24 Aug 2022

Introduced: 24 Aug 2022

CVE-2021-4041  (opens in a new tab)
CWE-116  (opens in a new tab)

How to fix?

Upgrade Echo:latest ansible-runner to version 2.1.1-1 or higher.

NVD Description

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

A flaw was found in ansible-runner. An improper escaping of the shell command, while calling the ansible_runner.interface.run_command, can lead to parameters getting executed as host's shell command. A developer could unintentionally write code that gets executed in the host rather than the virtual environment.

CVSS Base Scores

version 3.1