{"id":"CVE-2017-1000037","sourceIdentifier":"cve@mitre.org","published":"2017-07-17T13:18:17.140","lastModified":"2026-06-17T00:58:37.713","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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"},{"lang":"es","value":"RVM carga automáticamente las variables de entorno de archivos en $PWD, resultando en una ejecución del comando RVM vulnerable a la inyección de comandos cuando las variables de entorno se cargan automáticamente de archivos en $PWD. RVM ejecuta automáticamente los hooks ubicados en $PWD, resultando en la ejecución del código. RVM instala automáticamente las gemas según lo especifican los archivos en $PWD resultando en la ejecución del código RVM haciendo automáticamente la \"bundle install\" en un Gemfile especificado por .versions.conf en $PWD resultando en la ejecución del código."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV30":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":5.9}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"HIGH","exploitabilityScore":10.0,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"NVD-CWE-noinfo"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:rvm_project:rvm:*:*:*:*:*:*:*:*","versionEndIncluding":"1.28.0","matchCriteriaId":"B4933467-7525-4AFB-AC8D-803DEFDC25A4"}]}]}],"references":[{"url":"https://github.com/justinsteven/advisories/blob/master/2017_rvm_cd_command_execution.md","source":"cve@mitre.org","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/justinsteven/advisories/blob/master/2017_rvm_cd_command_execution.md","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Third Party Advisory"]}]}