ADVISORIES

Vulnerability

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.

14 advisories report this vulnerability, across 9 ecosystems.

Advisories

  • ALSA-2021:2588

    Moderate: ruby:2.6 security, bug fix, and enhancement update

    CVE-2019-15845CVE-2019-16201CVE-2019-16254CVE-2019-16255 AlmaLinux Updated 2 November 2026
  • ELSA-2021-2588

    ELSA-2021-2588: ruby:2.6 security, bug fix, and enhancement update (MODERATE)

    Moderate CVE-2019-15845CVE-2019-16201CVE-2019-16254CVE-2019-16255 Oracle Linux Updated 7 July 2021
  • GHSA-g98m-96g9-wfjq

    Insecure path handling in Bundler

    High CVE-2019-3881 RubyGems Updated 16 February 2024
  • OESA-2021-1419

    rubygem-bundler security update

    High CVE-2019-3881 openEuler Updated 18 August 2026
  • RHSA-2021:2230

    Red Hat Security Advisory: rh-ruby26-ruby security, bug fix, and enhancement update

    CVE-2019-15845CVE-2019-16201CVE-2019-16254CVE-2019-16255 Red Hat Updated 23 November 2026
  • RHSA-2021:2588

    Red Hat Security Advisory: ruby:2.6 security, bug fix, and enhancement update

    CVE-2019-15845CVE-2019-16201CVE-2019-16254CVE-2019-16255 Red Hat Updated 23 November 2026
  • RHVEX-CVE-2019-3881

    rubygem-bundler: Insecure permissions on directory in /tmp/ allows for execution of malicious code

    Moderate CVE-2019-3881 Red Hat Updated 23 November 2026
  • RLSA-2021:2588

    Moderate: ruby:2.6 security, bug fix, and enhancement update

    CVE-2019-15845CVE-2019-16201CVE-2019-16254CVE-2019-16255 Rocky Linux Updated 5 February 2026
  • SUSE-SU-2020:1582-1

    Security update for rubygem-bundler

    CVE-2019-3881 SUSE Updated 4 February 2026
  • SUSE-SU-2020:1582-2

    Security update for rubygem-bundler

    CVE-2019-3881 SUSE Updated 4 February 2026
  • UBUNTU-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…

    CVE-2019-3881 Ubuntu Updated 4 February 2026
  • USN-4870-1

    bundler vulnerability

    CVE-2019-3881 Ubuntu Updated 10 February 2026
  • openSUSE-SU-2020:0803-1

    Security update for rubygem-bundler

    CVE-2019-3881 openSUSE Updated 4 February 2026
  • openSUSE-SU-2020:0861-1

    Security update for rubygem-bundler

    CVE-2019-3881 openSUSE Updated 7 May 2025

References