CVE-2019-3881: bundler Uncontrolled Search Path Element
Vulnerability summary
CVE-2019-3881 is a high (CVSS 7.8) Uncontrolled Search Path Element vulnerability in bundler. EPSS estimates a 0.53% chance of exploitation in the next 30 days, higher than 44.7% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 2Timeline
- 04-09-2020PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · RubygemsEcosystem advisory · calculated7.0HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
0.53%
Chance of exploitation in the next 30 days
Percentile
45%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.53% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Opensuse2 products
- rubygem-bundler&distro=openSUSE Leap 15.1< 1.16.1-lp151.3.3.1
- rubygem-bundler&distro=openSUSE Leap 15.2< 1.16.1-lp152.4.3.1
Suse2 products
- rubygem-bundler&distro=SUSE Linux Enterprise Module for Basesystem 15 SP1< 1.16.1-3.3.1
- rubygem-bundler&distro=SUSE Linux Enterprise Module for Basesystem 15 SP2< 1.16.1-3.3.1
Bundler1 product
- bundler< 2.1.0
RubyGems1 product
- bundler≥ 1.14.0, < 2.1.0
Ubuntu1 product
- bundler< 1.16.1-1ubuntu0.1~esm1
5 vendors · 7 products
References
18 linksShow all 18 references
- lists.opensuse.org/archives/…Advisory
- lists.opensuse.org/archives/…Advisory
- github.com/rubygems/bundlerPACKAGE