Improper Input Validation Affecting ansible-runner package, versions *


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.08% (36th 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-RHEL7-ANSIBLERUNNER-4405280
  • published26 Mar 2023
  • disclosed1 Dec 2021

Introduced: 1 Dec 2021

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

How to fix?

There is no fixed version for RHEL:7 ansible-runner.

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 RHEL. See How to fix? for RHEL:7 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 Scores

version 3.1