Insecure path handling in Bundler
Published: April 23, 2018
SECURITY IDENTIFIERS
- CVE: CVE-2019-3881 (NVD)
- GHSA: GHSA-g98m-96g9-wfjq
GEM
SEVERITY
CVSS v3.x: 7.0 (High)
UNAFFECTED VERSIONS
< 1.14.0
PATCHED VERSIONS
>= 2.1.0
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.
