VYPR
High severity7.8NVD Advisory· Published Aug 24, 2022· Updated Jun 17, 2026

CVE-2021-4041

CVE-2021-4041

Description

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
ansible-runnerPyPI
< 2.1.02.1.0

Affected products

6
  • cpe:2.3:a:redhat:ansible_runner:*:*:*:*:*:*:*:*+ 3 more
    • cpe:2.3:a:redhat:ansible_runner:*:*:*:*:*:*:*:*range: <2.1.0
    • cpe:2.3:a:redhat:ansible_runner:2.1.0:alpha1:*:*:*:*:*:*
    • cpe:2.3:a:redhat:ansible_runner:2.1.0:alpha2:*:*:*:*:*:*
    • cpe:2.3:a:redhat:ansible_runner:2.1.0:beta1:*:*:*:*:*:*
  • ansible-runner/ansible-runnerdescription
  • ghsa-coords
    Range: < 2.1.0

Patches

Vulnerability mechanics

References

6

News mentions

0

No linked articles in our index yet.