CVE-2019-3881

HIGH

Bundler < 2.1.0 - Uncontrolled Search Path

Title source: rule

Description

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

Scores

CVSS v3 7.8
EPSS 0.0015
EPSS Percentile 35.6%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Classification

CWE
CWE-427
Status published

Affected Products (2)

bundler/bundler < 2.1.0
rubygems/bundler < 2.1.0RubyGems

Timeline

Published Sep 04, 2020
Tracked Since Feb 18, 2026