VDB

CVE-2019-14904

CVE-2019-14904 PUBLISHED CVSS 7.300000190734863 HIGH

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.

PackageEcosystemFixed in
ansiblePyPI2.9.3, 2.9.2, 2.8.8, 2.8.7, 2.7.16, 2.7.15
ansible-baseAlpine2.9.3-r0
ansibleAlpine2.9.3-r0, 2.8.8-r0, 2.7.16-r0
ansibleredhat2.9.2, 2.8.7, 2.7.15
ansibleUbuntu:Pro:18.04:LTS2.5.1+dfsg-1ubuntu0.1+esm5
ansibleUbuntu:Pro:16.04:LTS2.0.0.2-2ubuntu1.3+esm5

Risk scores

CVSS 3.1
7.300000190734863
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:L

Affected products

VendorProductVersions
n/aAnsibleAll versions before ansible-engine 2.9.4, before ansible-engine 2.8.8 and before ansible-engine 2.7.16
alpineansible-base0
PyPIansible2.9.0, 0, 2.8.0
alpineansible0, 0, 0
n/aAnsible*

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›