Arbitrary Code Injection Affecting restforce package, versions <3.0.0
Snyk CVSS
Attack Complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Threat Intelligence
EPSS
0.19% (56th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-RUBY-RESTFORCE-22045
- published 5 Aug 2018
- disclosed 3 Aug 2018
- credit Unknown
How to fix?
Upgrade restforce
to version 3.0.0 or higher.
Overview
https://rubygems.org/gems/restforce is A lightweight ruby client for the Salesforce REST API.
Affected versions of this package are vulnerable to Arbitrary Code Injection. An attacker could inject additional parameters into Salesforce API requests due to the way restforce constructs URL's.
Note This flaw is only exploitable in applications that pass user input directly to restforce's select, find, describe, update, upsert, and destroy methods.