VULNERABILITY INTELLIGENCE

CVE-2021-4041

CVSS score7.8 HIGH
EPSS probability0.33%
CISA KEVNot currently listed
Published2022-08-24
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

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.

Weakness classification

  • CWE-20: Improper Input Validation
  • CWE-116: Improper Encoding or Escaping of Output

Primary references