#VU49352 Files or Directories Accessible to External Parties in bundler - CVE-2019-3881
Published: September 4, 2020 / Updated: January 8, 2021
Vulnerability identifier: #VU49352
Vulnerability risk: Low
CVSSv4.0: CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2019-3881
CWE-ID: CWE-552
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerable software:
bundler
bundler
Software vendor:
Bundler
Bundler
Description
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to Bundler 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.
Remediation
Install updates from vendor's website.