cve.bz

CVE-2019-14904 OS Command Injection

7.3 highEPSS 0.4%Fix available

High (7.3). EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in ansible 2.7.15, 2.7.16, 2.8.7.

On this page
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.

Severity

CVSS 3.1

7.3 high
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:L
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 37th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-20 Improper Input Validation
CWE-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-14904 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-14904?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-14904?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-14904 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
redhat:ansiblebefore 2.7.15
redhat:ansiblefrom 2.8.0 before 2.8.7
redhat:ansiblefrom 2.9.0 before 2.9.2
debian:debian_linux9.0
debian:debian_linux10.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-gwr8-5j83-483cPyPIansible<2.7.162.7.16
GHSA-gwr8-5j83-483cPyPIansible>=2.8.0a1 <2.8.82.8.8
GHSA-gwr8-5j83-483cPyPIansible>=2.9.0a1 <2.9.32.9.3
PYSEC-2020-161PyPIansible<2.7.15
>=2.8.0 <2.8.7
>=2.9.0 <2.9.2
2.7.15, 2.8.7, 2.9.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9ansible2.2.1.0-2+deb9u2DLA-2535-1
Debian10ansible2.7.7+dfsg-1+deb10u1DSA-4950-1
Debian12, 13, 14ansible2.9.4+dfsg-1DEBIAN-CVE-2019-14904
UbuntuPro:14.04:LTSansible1.5.4+dfsg-1ubuntu0.1~esm3USN-7330-1
UbuntuPro:16.04:LTSansible2.0.0.2-2ubuntu1.3+esm5UBUNTU-CVE-2019-14904 USN-7330-1
UbuntuPro:18.04:LTSansible2.5.1+dfsg-1ubuntu0.1+esm5UBUNTU-CVE-2019-14904 USN-7330-1
UbuntuPro:20.04:LTSansible2.9.6+dfsg-1ubuntu0.1~esm3USN-7330-1
Red Hatansible_engine:2.7::el7ansible0:2.7.16-1.el7aeRHSA-2020:0217
Red Hatansible_engine:2.8::el7ansible0:2.8.8-1.el7aeRHSA-2020:0216
Red Hatansible_engine:2.8::el8ansible0:2.8.8-1.el8aeRHSA-2020:0216
Red Hatansible_engine:2.9::el7ansible, ansible-test0:2.9.4-1.el7aeRHSA-2020:0215
Red Hatansible_engine:2.9::el8ansible, ansible-test0:2.9.4-1.el8aeRHSA-2020:0215
Red Hatansible_engine:2::el7ansible, ansible-test0:2.9.4-1.el7aeRHSA-2020:0218
Red Hatansible_engine:2::el8ansible, ansible-test0:2.9.4-1.el8aeRHSA-2020:0218
SUSEHPE Helion OpenStack 8documentation-hpe-helion-openstack-user, documentation-hpe-helion-openstack-planning, documentation-hpe-helion-openstack-security and 3 more8.20201007-1.29.1SUSE-SU-2020:3309-1
SUSEHPE Helion OpenStack 8release-notes-hpe-helion-openstack8.20200922-3.23.1SUSE-SU-2020:3309-1
SUSEHPE Helion OpenStack 8venv-openstack-horizon-hpe12.0.5~dev3-14.32.1SUSE-SU-2020:3309-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8ardana-ansible8.0+git.1596735237.54109b1-3.77.1SUSE-SU-2020:3309-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8ardana-cinder8.0+git.1596129856.263f430-3.43.1SUSE-SU-2020:3309-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8ardana-glance8.0+git.1593631779.76fa9b7-3.24.1SUSE-SU-2020:3309-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8ardana-mq8.0+git.1593618123.678c32b-3.26.1SUSE-SU-2020:3309-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8ardana-nova8.0+git.1601298847.dd01585-3.42.1SUSE-SU-2020:3309-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8ardana-osconfig8.0+git.1595885113.93abcbc-3.49.1SUSE-SU-2020:3309-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8python-Flask-Cors3.0.3-3.3.1SUSE-SU-2020:3309-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8python-ardana-packager0.0.3-7.7.2SUSE-SU-2020:3309-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8venv-openstack-aodh5.1.1~dev7-12.28.1SUSE-SU-2020:3309-1
47 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.1ansible2.9.6-lp151.2.7.1openSUSE-SU-2020:0513-1
openSUSELeap 15.3ansible2.9.21-bp153.2.3.1openSUSE-SU-2022:0081-1
openSUSETumbleweedansible-1010.6.0-1.1openSUSE-SU-2024:14536-1
openSUSETumbleweedansible-1111.11.0-1.1openSUSE-SU-2025:15605-1
openSUSETumbleweedansible-1212.2.0-1.1openSUSE-SU-2025:15753-1
openSUSETumbleweedansible-1313.7.0-1.1openSUSE-SU-2026:10944-1
openSUSETumbleweedansible-1414.6.0-1.1openSUSE-SU-2026:12447-1
openSUSETumbleweedansible-99.8.0-1.1openSUSE-SU-2024:14244-1
Alpinev3.9ansible2.7.16-r0ALPINE-CVE-2019-14904
Alpinev3.10ansible2.8.8-r0ALPINE-CVE-2019-14904
Alpinev3.11, v3.12ansible2.9.3-r0ALPINE-CVE-2019-14904
Alpinev3.13, v3.14, v3.15ansible-base2.9.3-r0ALPINE-CVE-2019-14904

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Because a flaw exploit would depend on the use of Solaris and Red Hat does not support RHOSP on Solaris, the RHOSP Ansible package will not be updated at this time.

Ansible Engine 2.7.15, 2.8.7, and 2.9.2 as well as previous versions are affected.

Red Hat's mitigation

Currently, there is no mitigation for this issue.

ProductPackageStateAdvisory
Red Hat Ansible Engine 2.7 for RHEL 7ansible-0:2.7.16-1.el7aeFixed 2020-01-23RHSA-2020:0217
Red Hat Ansible Engine 2.8 for RHEL 7ansible-0:2.8.8-1.el7aeFixed 2020-01-23RHSA-2020:0216
Red Hat Ansible Engine 2.8 for RHEL 8ansible-0:2.8.8-1.el8aeFixed 2020-01-23RHSA-2020:0216
Red Hat Ansible Engine 2.9 for RHEL 7ansible-0:2.9.4-1.el7aeFixed 2020-01-23RHSA-2020:0215
Red Hat Ansible Engine 2.9 for RHEL 8ansible-0:2.9.4-1.el8aeFixed 2020-01-23RHSA-2020:0215
Red Hat Ansible Engine 2 for RHEL 7ansible-0:2.9.4-1.el7aeFixed 2020-01-23RHSA-2020:0218
Red Hat Ansible Engine 2 for RHEL 8ansible-0:2.9.4-1.el8aeFixed 2020-01-23RHSA-2020:0218
CloudForms Management Engine 5ansibleNot affected
Red Hat Ansible Tower 3ansibleAffected
Red Hat Ceph Storage 2ansibleOut of support scope
Red Hat Ceph Storage 3ansibleOut of support scope
Red Hat OpenStack Platform 10 (Newton)ansibleOut of support scope
Red Hat OpenStack Platform 13 (Queens)ansibleOut of support scope
Red Hat OpenStack Platform 14 (Rocky)ansibleOut of support scope
Red Hat Storage 3ansibleWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-14904.

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON