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 Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL8-ANSIBLERUNNER-4416068
  • 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:8 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:8 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