Improper input validation in Ansible
Key facts
- Attack vector
- Local
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · Low · Low
- Fix status
- Partial Red Hat: 7 fixed, 7 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-78.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | Ansible | All versions before ansible-engine 2.9.4, before ansible-engine 2.8.8 and before ansible-engine 2.7.16 | — | No fix listed | CNA |
| — | ansible (PyPI) | before 2.7.16 | 2.7.16 | Patch available | GHSA-gwr8-5j83-483c |
| — | ansible (PyPI) | 2.8.0a1 to before 2.8.8 | 2.8.8 | Patch available | GHSA-gwr8-5j83-483c |
| — | ansible (PyPI) | 2.9.0a1 to before 2.9.3 | 2.9.3 | Patch available | GHSA-gwr8-5j83-483c |
- Ansible Vendor— Affected All versions before ansible-engine 2.9.4, before ansible-engine 2.8.8 and before ansible-engine 2.7.16 Fixed in — No fix listed CNA
- ansible (PyPI) Vendor— Affected before 2.7.16 Fixed in 2.7.16 Patch available GHSA-gwr8-5j83-483c
- ansible (PyPI) Vendor— Affected 2.8.0a1 to before 2.8.8 Fixed in 2.8.8 Patch available GHSA-gwr8-5j83-483c
- ansible (PyPI) Vendor— Affected 2.9.0a1 to before 2.9.3 Fixed in 2.9.3 Patch available GHSA-gwr8-5j83-483c
Remediation
- Fix · GHSA-gwr8-5j83-483c ansible (PyPI) Fixed in 2.7.16 Advisory →
- Fix · GHSA-gwr8-5j83-483c ansible (PyPI) Fixed in 2.8.8 Advisory →
- Fix · GHSA-gwr8-5j83-483c ansible (PyPI) Fixed in 2.9.3 Advisory →
Red Hat 4 advisories
- RHSA-2020:0218 Released 2020-01-23 · Red Hat rating ModerateAnsible security and bug fix update (2.9.4)
- Red Hat Ansible Engine 2 for RHEL 7 ansible-2.9.4-1.el7ae, ansible-test-2.9.4-1.el7ae
- Red Hat Ansible Engine 2 for RHEL 8 ansible-2.9.4-1.el8ae, ansible-test-2.9.4-1.el8ae
- RHSA-2020:0216 Released 2020-01-23 · Red Hat rating ModerateAnsible security and bug fix update (2.8.8)
- Red Hat Ansible Engine 2.8 for RHEL 7 Server ansible-2.8.8-1.el7ae
- Red Hat Ansible Engine 2.8 for RHEL 8 ansible-2.8.8-1.el8ae
- RHSA-2020:0215 Released 2020-01-23 · Red Hat rating ModerateAnsible security and bug fix update (2.9.4)
- Red Hat Ansible Engine 2.9 for RHEL 7 Server ansible-2.9.4-1.el7ae, ansible-test-2.9.4-1.el7ae
- Red Hat Ansible Engine 2.9 for RHEL 8 ansible-2.9.4-1.el8ae, ansible-test-2.9.4-1.el8ae
Show 1 more Red Hat advisories
- RHSA-2020:0217 Released 2020-01-23 · Red Hat rating ModerateAnsible security and bug fix update (2.7.16)
- Red Hat Ansible Engine 2.7 for RHEL 7 Server ansible-2.7.16-1.el7ae
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Ansible Tower 3 | Affected | No fix yet |
| Red Hat Ceph Storage 2 | Affected | No fix planned: Out of support scope |
| Red Hat Ceph Storage 3 | Affected | No fix planned: Out of support scope |
| Red Hat OpenStack Platform 10 (Newton) | Affected | No fix planned: Out of support scope |
| Red Hat OpenStack Platform 13 (Queens) | Affected | No fix planned: Out of support scope |
| Red Hat OpenStack Platform 14 (Rocky) | Affected | No fix planned: Out of support scope |
| Red Hat Storage 3 | Affected | No fix planned: Will not fix |
| Red Hat Ansible Engine 2 for RHEL 7 | Fixed | RHSA-2020:0218 |
| Red Hat Ansible Engine 2 for RHEL 8 | Fixed | RHSA-2020:0218 |
| Red Hat Ansible Engine 2.7 for RHEL 7 Server | Fixed | RHSA-2020:0217 |
| Red Hat Ansible Engine 2.8 for RHEL 7 Server | Fixed | RHSA-2020:0216 |
| Red Hat Ansible Engine 2.8 for RHEL 8 | Fixed | RHSA-2020:0216 |
| Red Hat Ansible Engine 2.9 for RHEL 7 Server | Fixed | RHSA-2020:0215 |
| Red Hat Ansible Engine 2.9 for RHEL 8 | Fixed | RHSA-2020:0215 |
Not affected: 1 product
- CloudForms Management Engine 5
Timeline
- 2026-10-02 Threatist record created from CVE-2019-14904
- 2026-10-03 Alias added: GHSA-gwr8-5j83-483c
References
Advisory 5
Other 5
- https://github.com/ansible/ansible/commit/589a415f887b6f2bb65cd07fe6b2e9d0a8156b69
- https://github.com/ansible/ansible/commit/6a86650109b8654f5898369e45d3857624edf907
- https://github.com/ansible/ansible/commit/a1b0f72c98b4b2afaab8aafa255e82c2075049c8
- https://github.com/ansible/ansible
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-161.yaml
Sources
- CVE-2019-14904 · CVE Program
- CVE-2019-14904 · NVD
- FIRST EPSS
- GHSA-gwr8-5j83-483c · GitHub Advisory Database · CC BY 4.0
- CVE-2019-14904 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences