ADVISORIES

Red Hat VEX

RHVEX-CVE-2019-3881

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

Moderate No fix available CVE-2019-3881

Details

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.

Affected packages

EcosystemPackageAffected versions
Red Hat:enterprise_linux:8rubygem-bundler
All versions, will not be fixed
Red Hat:enterprise_linux:8rubygem-bundler-doc
All versions, will not be fixed

References