CVE-2014-0156
Ruby vulnerability analysis and mitigation

Overview

CVE-2014-0156 is an OS command injection vulnerability discovered in the Awesome spawn Ruby gem. The vulnerability allows execution of additional commands passed to Awesome spawn as arguments. The vulnerability was assigned by Red Hat, Inc. on December 3, 2013, and affects versions from 1.2.0 up to (excluding) 1.5.0 of the ManageIQ Awesome spawn package (NVD, RubySec).

Technical details

The vulnerability is classified as CWE-78 (Improper Neutralization of Special Elements used in an OS Command Injection). It has received a CVSS v3.1 base score of 9.8 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, and a CVSS v2.0 base score of 7.5 (HIGH) with vector string (AV:N/AC:L/Au:N/C:P/I:P/A:P) (NVD).

Impact

If untrusted input is included in command arguments, an attacker could exploit this vulnerability to execute arbitrary commands on the affected system. For example, a malicious actor could inject commands through parameters like AwesomeSpawn.run('ls',:params => {'-l' => ";touch haxored"}) (RubySec).

Mitigation and workarounds

Users should upgrade to patched versions ~> 1.2.0 or >= 1.3.0 of the awesomespawn gem. A fix was implemented by separating command line building and sanitizing into its own class ([GitHub Patch](https://github.com/ManageIQ/awesomespawn/commit/e524f85f1c6e292ef7d117d7818521307ac269ff)).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management