CVE-2018-3777 restforce vulnerable to Improper Input Validation
Attackers can inject arbitrary parameters into Salesforce API requests due to insufficient URI encoding in the restforce Ruby gem.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-3777?
CVE-2018-3777 is a critical vulnerability in https://github.com/restforce restforce ruby gem, published on 3 Aug 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Insufficient URI encoding in restforce before 3.0.0 allows attacker to inject arbitrary parameters into Salesforce API requests.
Which versions are affected by CVE-2018-3777?
2 open source packages ship an affected version, including restforce. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
restforce RubyGems | All versions | 3.0.0 |
restforce RubyGems | All versions | 3.0.0 |
Products include Restforce Restforce.
How do I fix CVE-2018-3777?
Upgrade restforce to 3.0.0 or later.
Is CVE-2018-3777 being exploited?
There is no known exploitation of CVE-2018-3777 in the wild and no public exploit code.
Sources
Also known as GHSA-534w-937m-v7x3.