openEuler Security Advisory
OESA-2021-1419
rubygem-bundler security update
Details
Bundler manages an application's dependencies through its entire life, across many machines, systematically and repeatably.
Security Fix(es):
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.(CVE-2019-3881)
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| openEuler:20.03-LTS-SP2 | rubygem-bundler | All versions before 2.2.19-1.oe1 (fixed in 2.2.19-1.oe1) |