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.
Metrics
CVSS 3.1 7.8/10
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | rubygem-bundler | bundler versions before 2.1.0 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1651826Issue Tracking, Patch, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1651826Issue Tracking, Patch, Third Party Advisory
Timeline
- Published
- Sep 4, 2020
- Last modified
- Jun 17, 2026
- NVD status
- Modified