CVE Catalog

CVE-2017-1000037

Critical
Published: Translated: NVD NIST

Summary

RVM automatically loads environment variables from files in $PWD, leading to command execution vulnerabilities. RVM also executes hooks and installs gems and performs 'bundle install' based on files in $PWD, resulting in code execution.

Risk Assessment

This vulnerability could lead to unauthorized code execution on the system, posing a serious security threat to the organization.

Recommendation

It is recommended to restrict access to files in $PWD and to review and validate environment variables before they are loaded by RVM.

Original NVD description (English source)

RVM automatically loads environment variables from files in $PWD resulting in command execution RVM vulnerable to command injection when automatically loading environment variables from files in $PWD RVM automatically executes hooks located in $PWD resulting in code execution RVM automatically installs gems as specified by files in $PWD resulting in code execution RVM automatically does "bundle install" on a Gemfile specified by .versions.conf in $PWD resulting in code execution

Vulnerability data from NVD (NIST) · CISA KEV · EPSS