{ "id": "CVE-2017-1000037", "sourceIdentifier": "cve@mitre.org", "published": "2017-07-17T13:18:17.140", "lastModified": "2019-10-03T00:03:26.223", "vulnStatus": "Analyzed", "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\u00e1ticamente las variables de entorno de archivos en $PWD, resultando en una ejecuci\u00f3n del comando RVM vulnerable a la inyecci\u00f3n de comandos cuando las variables de entorno se cargan autom\u00e1ticamente de archivos en $PWD. RVM ejecuta autom\u00e1ticamente los hooks ubicados en $PWD, resultando en la ejecuci\u00f3n del c\u00f3digo. RVM instala autom\u00e1ticamente las gemas seg\u00fan lo especifican los archivos en $PWD resultando en la ejecuci\u00f3n del c\u00f3digo RVM haciendo autom\u00e1ticamente la \"bundle install\" en un Gemfile especificado por .versions.conf en $PWD resultando en la ejecuci\u00f3n del c\u00f3digo." } ], "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", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH", "baseScore": 9.8, "baseSeverity": "CRITICAL" }, "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", "accessVector": "NETWORK", "accessComplexity": "LOW", "authentication": "NONE", "confidentialityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "baseScore": 7.5 }, "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" ] } ] }