All reports
High

Insecure path handling in Bundler

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
RubyGemsbundler
Affected versions
>= 1.14.0, < 2.1.0
Fixed version
2.1.0

Exploitation

CVE-2019-3881

Probability of exploitation in the next 30 days: 0.53%

FIRST EPSS · 2026-11-22

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.

Links