Privilege escalation in Bundler



Published: 2020-09-04 | Updated: 2021-01-08
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-3881
CWE-ID CWE-552
Exploitation vector Local
Public exploit N/A
Vulnerable software
Subscribe
bundler
Universal components / Libraries / Software for developers

Vendor Bundler

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Files or Directories Accessible to External Parties

EUVDB-ID: #VU49352

Risk: Low

CVSSv3.1: 6.1 [CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2019-3881

CWE-ID: CWE-552 - Files or Directories Accessible to External Parties

Exploit availability: No

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.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

bundler: 1.0.0 - 2.0.2

External links

http://bugzilla.redhat.com/show_bug.cgi?id=1651826


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###