CVE-2019-14904
HIGH 7.3CVSS 3.1OS Command Injection and Improper Input Validation in ansible
A flaw was found in the solaris_zone module from the Ansible Community modules. When setting the name for the zone on the Solaris host, the zone name is checked by listing the process with the 'ps' bare command on the remote machine. An attacker could take advantage of this flaw by crafting the name of the zone and executing arbitrary commands in the remote host. Ansible Engine 2.7.15, 2.8.7, and 2.9.2 as well as previous versions are affected.
- Published
- 26 Aug 2020
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-20CWE-78
- Also known as
- GHSA-gwr8-5j83-483cPYSEC-2020-161
- Sources
- NVDJSONOSV GHSA-gwr8-5j83-483cJSONOSV PYSEC-2020-161JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:L/VA:L/SC:H/SI:L/SA:L | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.1 | AV:L/AC:L/Au:N/C:C/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | ansiblecpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:* |
< 2.7.15 | 2.7.15 |
| NVD | redhat | ansiblecpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:* |
>= 2.8.0, < 2.8.7 | 2.8.7 |
| NVD | redhat | ansiblecpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:* |
>= 2.9.0, < 2.9.2 | 2.9.2 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| OSV | PyPI | ansible | < 2.7.16 | 2.7.16 |
| OSV | PyPI | ansible | >= 2.8.0a1, < 2.8.8 | 2.8.8 |
| OSV | PyPI | ansible | >= 2.9.0a1, < 2.9.3 | 2.9.3 |
| OSV | PyPI | ansible | < 2.7.15; >= 2.8.0, < 2.8.7; >= 2.9.0, < 2.9.2 | 2.7.15, 2.8.7, 2.9.2 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1776944 · Issue Tracking, Vendor Advisory, WEB, REPORT
- https://github.com/ansible/ansible/pull/65686 · Patch, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2021/01/msg00023.html · Mailing List, Third Party Advisory, WEB
- https://www.debian.org/security/2021/dsa-4950 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2019-14904 · ADVISORY
- https://github.com/ansible/ansible/commit/589a415f887b6f2bb65cd07fe6b2e9d0a8156b69 · WEB
- https://github.com/ansible/ansible/commit/6a86650109b8654f5898369e45d3857624edf907 · WEB
- https://github.com/ansible/ansible/commit/a1b0f72c98b4b2afaab8aafa255e82c2075049c8 · WEB
- https://github.com/advisories/GHSA-gwr8-5j83-483c · ADVISORY
- https://github.com/ansible/ansible · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-161.yaml · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 26 Aug 2020)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 26 Aug 2020)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 20 Apr 2021)