CVE-2017-1000037 Command injection in n/a

Critical 9.8 Published Updated

RVM automatically executes code from files in the current directory, allowing attackers to run arbitrary commands when a user navigates to a malicious directory.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2017-1000037?

CVE-2017-1000037 is a critical command injection vulnerability in n/a, published on 13 Jul 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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

Which versions are affected by CVE-2017-1000037?

It affects 1 product.

Products include Rvm Project Rvm.

How do I fix CVE-2017-1000037?

No fix has been published for CVE-2017-1000037 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2017-1000037 being exploited?

There is no known exploitation of CVE-2017-1000037 in the wild and no public exploit code.

Sources

Also known as GHSA-3xjp-838f-rph3.

Is CVE-2017-1000037 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free