CVE-2019-3881

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.
References
Link Resource
https://bugzilla.redhat.com/show_bug.cgi?id=1651826 Issue Tracking Patch Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1651826 Issue Tracking Patch Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:bundler:bundler:*:*:*:*:*:ruby:*:*

History

21 Nov 2024, 04:42

Type Values Removed Values Added
References () https://bugzilla.redhat.com/show_bug.cgi?id=1651826 - Issue Tracking, Patch, Third Party Advisory () https://bugzilla.redhat.com/show_bug.cgi?id=1651826 - Issue Tracking, Patch, Third Party Advisory

Information

Published : 2020-09-04 12:15

Updated : 2024-11-21 04:42


NVD link : CVE-2019-3881

Mitre link : CVE-2019-3881

CVE.ORG link : CVE-2019-3881


JSON object : View

Products Affected

bundler

  • bundler
CWE
CWE-427

Uncontrolled Search Path Element