CVE-2019-3881

HIGH

Bundler < 2.1.0 - Unauthenticated Arbitrary Code Execution via Predictable /tmp/ Path

Title source: llm
STIX 2.1

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.

References (1)

Core 1
Core References
Issue Tracking, Patch, Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1651826

Scores

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

Details

CWE
CWE-427
Status published
Products (2)
bundler/bundler < 2.1.0
rubygems/bundler 1.14.0 - 2.1.0RubyGems
Published Sep 04, 2020
Tracked Since Feb 18, 2026