7.8

CVE-2019-3881: bundler Uncontrolled Search Path Element

Modified
AliasesSUSE-SU-2020:1582-1SUSE-SU-2020:1582-2UBUNTU-CVE-2019-3881
Published 04-09-2020Last modified 04-08-2024

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.

Priority
Routine

Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (NVD)
EPSS score
0.53%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 2

Timeline

  1. 04-09-2020
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last 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

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

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

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
RubyGems1 product
  • bundler≥ 1.14.0, < 2.1.0
Ubuntu1 product
  • bundler< 1.16.1-1ubuntu0.1~esm1

5 vendors · 7 products

References

18 links
Show all 18 references