CVEvulnerability

CVE-2019-3881

7.8 HIGH Published 2020-09-04 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2020-09-04
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
4.4 MEDIUM — AV:L/AC:M/Au:N/C:P/I:P/A:P
Weaknesses
CWE-427

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 configurations

• bundler bundler (< 2.1.0)

Related

Weakness · CWE (1)

  • CWE-427 Uncontrolled Search Path Element weakness

References