Skip to main content
← All vulnerabilities
CVE-2019-3881GHSA-G98M-96G9-WFJQ

Bundler prior to 2.1.0 uses a predictable path in /tmp/, created with insecure permissions as a storage location for gems, if locations unde

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.1.0
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a rubygem-bundler

    bundler versions before 2.1.0

  • bundlerRubyGems

    From 1.14.0 · fixed in 2.1.0

References 1

bugzilla.redhat.com