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.

Project Subscriptions

Vendors Products
Bundler Subscribe
Bundler Subscribe
Enterprise Linux Subscribe
Rhel Software Collections Subscribe
Advisories
Source ID Title
EUVD EUVD EUVD-2021-1077 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.
Github GHSA Github GHSA GHSA-g98m-96g9-wfjq Insecure path handling in Bundler
Ubuntu USN Ubuntu USN USN-4870-1 Bundler vulnerability
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Sun, 13 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00206}

epss

{'score': 0.00211}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2024-08-04T19:19:18.600Z

Reserved: 2019-01-03T00:00:00

Link: CVE-2019-3881

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2020-09-04T12:15:10.387

Modified: 2024-11-21T04:42:47.230

Link: CVE-2019-3881

cve-icon Redhat

Severity : Moderate

Publid Date: 2018-05-23T00:00:00Z

Links: CVE-2019-3881 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses