CVE-2019-3881

HIGH7.0EPSS 0.15%

Insecure path handling in Bundler

Published: 5/10/2021Modified: 2/16/2024
Also known as:GHSA-g98m-96g9-wfjq

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.

Affected packages (1)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1HIGH7.0CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

References (7)