~ / search / GHSA-g98m-96g9-wfjq

GHSA-g98m-96g9-wfjq

Insecure path handling in Bundler

Source: GitHub Advisory Database (reviewed) High CVE-2019-3881

Packages

EcosystemPackageAffectedFixed in
RubyGems bundler >= 1.14.0, < 2.1.0 2.1.0

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.