Arbitrary Code Execution Affecting bundler package, versions >=1.14.0, <2.1.0


0.0
high

Snyk CVSS

    Attack Complexity High
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    EPSS 0.06% (26th percentile)
Expand this section
NVD
7.8 high
Expand this section
Red Hat
6.7 medium
Expand this section
SUSE
6.7 medium

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-BUNDLER-1290617
  • published 11 May 2021
  • disclosed 10 May 2021
  • credit Unknown

How to fix?

Upgrade bundler to version 2.1.0 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Execution. Bundler uses a predictable path in /tmp/, which is created with insecure permissions as a storage location for gems, if locations under the user's home directory are not available. If is is used in a scenario where the user does not have a writable home directory, an attacker can place malicious code in this directory that would be later loaded and executed.