CVE-2017-1000037
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…
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (6.18%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
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
- CVSS 3.0
- 9.8 CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 6.18% probability · 93th percentile
- CISA KEV
- Not listed
- Affected
- rvm project/rvm
- Source
- cve@mitre.org
References
- https://github.com/justinsteven/advisories/blob/master/2017_rvm_cd_command_execution.mdExploit, Third Party Advisory
- https://github.com/justinsteven/advisories/blob/master/2017_rvm_cd_command_execution.mdExploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.