PT-2019-5544

CVE-2019-3881

·

Published

2019-07-30

·

Updated

2025-09-29

Description by

CVSS 3.1
7.8
High
MetricsAV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Bundler versions prior to 2.1.0
Description The issue is related to the use of predictable paths in /tmp/ with insecure permissions as a storage location for gems when 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.
Recommendations For Bundler versions prior to 2.1.0, update to version 2.1.0 or later to resolve the issue. As a temporary workaround, consider restricting access to the /tmp/ directory to minimize the risk of exploitation. Additionally, ensure that users have writable home directories to prevent the use of predictable paths in /tmp/.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-G98M-96G9-WFJQ
ALSA-2021:2588
ALSA-2025_16880
CESA-2021_2588
OESA-2021-1419
OPENSUSE-SU-2020:0803-1
OPENSUSE-SU-2020_0803-1
OPENSUSE-SU-2020:0861-1
OPENSUSE-SU-2020_0861-1
RHSA-2021:2230
RHSA-2021:2588
RHSA-2021_2588
RLSA-2021:2588
SUSE-SU-2020:1582-1
SUSE-SU-2020_1582-1
SUSE-SU-2020:1582-2
SUSE-SU-2020_1582-2
USN-4870-1
Found an issue in the description? Have something to add? Feel free to write us 👾