Security mailing lists by PureSourceCode

CVE-2019-3881

HIGH 7.8CVSS 3.1

Insecure path handling in Bundler

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.

Published
4 Sep 2020
Last modified
17 Jun 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-427CWE-552
Also known as
GHSA-g98m-96g9-wfjq
Sources
NVDJSONOSV GHSA-g98m-96g9-wfjqJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 7.0 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.4 AV:L/AC:M/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD bundler bundler
cpe:2.3:a:bundler:bundler:*:*:*:*:*:ruby:*:*
< 2.1.0 2.1.0
OSV RubyGems bundler >= 1.14.0, < 2.1.0 2.1.0

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 4 Sep 2020)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 May 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.