Live threats

All CVEs / Bundler

CVE-2019-3881Bundler

High 7.8

Priority
47
CVSS 3.1
7.8
EPSS
0.5%
probability of exploitation in 30 days · percentile 46
Auth required
Yes
Published
Sep 4, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-427
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Bundler.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems bundler ≥ 1.14.0 < 2.1.0 2.1.0 gem "bundler", ">= 2.1.0"

Per OSV / GitHub Advisories (GHSA-g98m-96g9-wfjq). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
bundlerbundler< 2.1.0

Official sources

References

Links published by the sources. Open them with care.