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.
{ "nvd_published_at": "2020-09-04T12:15:00Z", "cwe_ids": [ "CWE-427", "CWE-552" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2021-05-04T22:52:44Z" }