UBUNTU-CVE-2021-4041

Source
https://ubuntu.com/security/CVE-2021-4041
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-4041.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-4041
Upstream
Published
2022-08-24T16:15:00Z
Modified
2025-07-16T07:19:58.188391Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

A flaw was found in ansible-runner. An improper escaping of the shell command, while calling the ansiblerunner.interface.runcommand, 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.

References

Affected packages

Ubuntu:22.04:LTS / ansible-runner

Package

Name
ansible-runner
Purl
pkg:deb/ubuntu/ansible-runner@2.1.1-1?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.1.1-1

Affected versions

1.*

1.4.6-1
1.4.6-1.1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "python-ansible-runner-doc",
            "binary_version": "2.1.1-1"
        },
        {
            "binary_name": "python3-ansible-runner",
            "binary_version": "2.1.1-1"
        }
    ]
}