CVE-2021-4041

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-4041
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-4041.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-4041
Aliases
Related
Published
2022-08-24T16:15:09Z
Modified
2024-12-05T17:45:24.299193Z
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
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

Debian:12 / ansible-runner

Package

Name
ansible-runner
Purl
pkg:deb/debian/ansible-runner?arch=source

Affected ranges

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

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / ansible-runner

Package

Name
ansible-runner
Purl
pkg:deb/debian/ansible-runner?arch=source

Affected ranges

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

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/ansible/ansible-runner

Affected ranges

Type
GIT
Repo
https://github.com/ansible/ansible-runner
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

1.*

1.0.1
1.0.2
1.0.3
1.0.4
1.0.5
1.1.0
1.1.1
1.1.2
1.2.0
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.4.0
1.4.1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6

2.*

2.0.0-alpha1
2.0.0-alpha2
2.0.0-alpha3
2.1.0a1