PT-2019-5544 · Ruby+6 · Bundler+6
CVE-2019-3881
·
Publicado
2019-07-30
·
Atualizado
2025-09-29
CVSS v3.1
7.8
Alta
| Vetor | AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Bundler versions prior to 2.1.0
Description
The issue is related to the use of predictable paths in /tmp/ with insecure permissions as a storage location for gems when 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.
Recommendations
For Bundler versions prior to 2.1.0, update to version 2.1.0 or later to resolve the issue. As a temporary workaround, consider restricting access to the /tmp/ directory to minimize the risk of exploitation. Additionally, ensure that users have writable home directories to prevent the use of predictable paths in /tmp/.
Exploit
Correção
Files Accessible to External Parties
Uncontrolled Search Path Element
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Identificadores relacionados
Produtos afetados
Almalinux
Bundler
Centos
Red Hat
Rocky Linux
Suse
Ubuntu