Improper Input Validation Affecting python2-ansible-runner package, versions *


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.08% (35th 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-RHEL7-PYTHON2ANSIBLERUNNER-3375556
  • 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 python2-ansible-runner.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python2-ansible-runner package and not the python2-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