Vulnerability in Bundler
CVE-2019-3881
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.
EPSS: 0.005 (41.6th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
Affected products
- Bundler
- N/a Rubygem-bundler — versions bundler versions before 2.1.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- secalert@redhat.com (Patch, Third Party Advisory, Issue Tracking)
Frequently asked questions
- What is CVE-2019-3881?
- CVE-2019-3881 is a high-severity vulnerability in Bundler, classified under Uncontrolled Search Path Element. CVSS score: 7.8/10. Published 2020-09-04.
- How severe is CVE-2019-3881?
- High severity. CVSS v3 base score is 7.8 out of 10.
- Is CVE-2019-3881 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.