Skip to content

OS Command Injection and Improper Input Validation in ansible

High severity GitHub Reviewed Published Apr 20, 2021 to the GitHub Advisory Database • Updated Feb 1, 2023

Package

pip ansible (pip)

Affected versions

< 2.9.3

Patched versions

2.9.3

Description

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.

References

Published by the National Vulnerability Database Aug 26, 2020
Reviewed Apr 5, 2021
Published to the GitHub Advisory Database Apr 20, 2021
Last updated Feb 1, 2023

Severity

High
7.3
/ 10

CVSS base metrics

Attack vector
Local
Attack complexity
Low
Privileges required
High
User interaction
None
Scope
Changed
Confidentiality
High
Integrity
Low
Availability
Low
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:L

CVE ID

CVE-2019-14904

GHSA ID

GHSA-gwr8-5j83-483c

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.