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
Configurations

Configuration 1 (hide)

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

History

02 Nov 2021, 19:17

Type Values Removed Values Added
CWE CWE-552 CWE-427
CVSS v2 : 4.4
v3 : 7.0
v2 : 4.4
v3 : 7.8

Information

Published : 2020-09-04 12:15

Updated : 2024-02-04 21:00


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