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.
{
"unresolved_ranges": [
{
"extracted_events": [
{
"last_affected": "2.1.0-alpha1"
},
{
"last_affected": "2.1.0-alpha2"
},
{
"last_affected": "2.1.0-beta1"
}
],
"cpes": [
"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:*:*:*:*:*:*"
],
"source": "CPE_STRING",
"vendor_product": "redhat:ansible_runner"
}
]
}{
"cpe": "cpe:2.3:a:redhat:ansible_runner:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "2.1.0"
}
],
"source": [
"CPE_RANGE",
"REFERENCES"
]
}