CVE-2019-14904
OS Command Injection and Improper Input Validation in ansible
Reported by redhat · Published August 25, 2020
ansible is fixed in 2.9.3, 2.9.2, 2.8.8 and 3 more (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| ansible | PyPI | 2.9.3, 2.9.2, 2.8.8, 2.8.7, 2.7.16, 2.7.15 |
| ansible-base | Alpine | 2.9.3-r0 |
| ansible | Alpine | 2.9.3-r0, 2.8.8-r0, 2.7.16-r0 |
| ansible | redhat | 2.9.2, 2.8.7, 2.7.15 |
| ansible | Ubuntu:Pro:18.04:LTS | 2.5.1+dfsg-1ubuntu0.1+esm5 |
| ansible | Ubuntu:Pro:16.04:LTS | 2.0.0.2-2ubuntu1.3+esm5 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | Ansible | All versions before ansible-engine 2.9.4, before ansible-engine 2.8.8 and before ansible-engine 2.7.16 |
| alpine | ansible-base | 0 |
| PyPI | ansible | 2.9.0, 0, 2.8.0 |
| alpine | ansible | 0, 0, 0 |
| n/a | Ansible | * |
Timeline
- Dec 8, 2019 CVE Published
- Aug 26, 2020 PoC Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 6, 2026 Distribution Patch (7 in total, the first dated here)
- Mar 6, 2026 Security Advisory (14 in total, the first dated here)
- Jun 7, 2026 CVE Updated
- Sep 14, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2019-14904
vulnetix vdb fixes CVE-2019-14904
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-14904/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- [debian-lts-announce] 20210127 [SECURITY] [DLA 2535-1] ansible security update mailing-listx_refsource_MLIST
- DSA-4950 vendor-advisoryx_refsource_DEBIAN
- https://nvd.nist.gov/vuln/detail/CVE-2019-14904 advisory