GHSA-6j58-grhv-2769

Suggest an improvement
Source
https://github.com/advisories/GHSA-6j58-grhv-2769
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/08/GHSA-6j58-grhv-2769/GHSA-6j58-grhv-2769.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-6j58-grhv-2769
Aliases
Published
2022-08-25T00:00:27Z
Modified
2024-09-03T21:37:16.179658Z
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
  • 8.5 (High) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
ansible-runner vulnerable to shell command injection
Details

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.

Database specific
{
    "nvd_published_at": "2022-08-24T16:15:00Z",
    "cwe_ids": [
        "CWE-116",
        "CWE-20"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2022-09-01T22:22:11Z"
}
References

Affected packages

PyPI / ansible-runner

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.1.0

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.4
1.4.5
1.4.6
1.4.7
1.4.8
1.4.9

2.*

2.0.0a1
2.0.0a2
2.0.0a3
2.0.0a4
2.0.0.0a5
2.0.0.0b1
2.0.0.0rc1
2.0.0.0rc2
2.0.0.0rc3
2.0.0
2.0.1
2.0.2
2.0.3
2.0.4
2.1.0.0a1
2.1.0.0a2
2.1.0.0b1