Red Hat Ansible
At a glance
- Source
- NVD
- EPSS
- EPSS 0.46 % · percentile 40 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- redhat
- NVD status
- Modified
Description
A flaw was found in the pipe lookup plugin of ansible. Arbitrary commands can be run, when the pipe lookup plugin uses subprocess.Popen() with shell=True, by overwriting ansible facts and the variable is not escaped by quote plugin. An attacker could take advantage and run arbitrary commands by overwriting the ansible facts.
Weaknesses (CWE)
- CWE-78 — Improper Neutralization of Special Elements used in an OS Command
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:L | redhat |
| CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:L | NVD · secalert@redhat.com (Secondary) |
| CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:L | NVD · nvd@nist.gov (Primary) |
| CVSS 2.0 | LOW 3.7 | AV:L/AC:H/Au:N/C:P/I:P/A:P | NVD · nvd@nist.gov (Primary) |
Advisories
- GHSA-h39q-95q5-9jfp — OS Command Injection in ansible
- PYSEC-2020-6 — A flaw was found in the pipe lookup plugin of ansible. Arbitrary commands can be run, when the pipe lookup plugin uses subprocess.Popen() with shell=True, by ov
European references
- ENISA EUVD · EUVD-2020-0028
- GCVE · GCVE-0-2020-1734
Affected configurations (NVD CPE)
cpe:2.3:a:redhat:ansible_engine:*:*:*:*:*:*:*:*≤ 2.7.16cpe:2.3:a:redhat:ansible_engine:2.8.8:*:*:*:*:*:*:*cpe:2.3:a:redhat:ansible_engine:2.9.5:*:*:*:*:*:*:*cpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:*≤ 3.3.4cpe:2.3:a:redhat:ansible_tower:3.4.5:*:*:*:*:*:*:*cpe:2.3:a:redhat:ansible_tower:3.5.5:*:*:*:*:*:*:*cpe:2.3:a:redhat:ansible_tower:3.6.3:*:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| Red Hat · Ansible | affected n/a |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |