{"id":"CVE-2017-1000037","published":"2017-07-13T20:00:00Z","modified":"2024-08-05T21:53:06Z","title":"RVM automatically loads environment variables from files in $PWD resulting in command execution RVM vulnerable to…","vendor":null,"product":null,"tier":"tail","description":{"text":"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","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.06247,"percentile":0.93721,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/justinsteven/advisories/blob/master/2017_rvm_cd_command_execution.md","tags":["x_refsource_MISC"]}],"priority":{"score":18.7,"factors":[{"name":"EPSS percentile","points":18.74}]},"summary":{"text":"RVM (Ruby Version Manager) automatically loads environment variables, hooks, gems and Gemfile-based bundle installs from files in the current working directory ($PWD), which is the component where the flaw lives. An attacker who can get a malicious project directory or file into a user's working directory can achieve command or code execution when RVM processes those files, typically without additional authentication or configuration beyond the user operating within that directory.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:02:31Z"},"euvd":{"id":"EUVD-2017-1364","exploited":false,"provenance":"source"}}