Arbitrary Code Injection Affecting restforce package, versions <3.0.0


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.22% (61st 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 Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUBY-RESTFORCE-22045
  • published5 Aug 2018
  • disclosed3 Aug 2018
  • creditUnknown

Introduced: 3 Aug 2018

CVE-2018-3777  (opens in a new tab)
CWE-94  (opens in a new tab)

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.

CVSS Base Scores

version 3.1