GHSA-g98m-96g9-wfjq

    Dashboard / Vulnerabilities / GHSA-g98m-96g9-wfjq

    GHSA-g98m-96g9-wfjq

    Published: 10 May 2021Last Modified: 16 Feb 2024
    Aliases:

    Summary: Insecure path handling in Bundler

    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

    Package

    Name: bundler

    Purl: pkg:gem/bundler

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 1.14.0
    Fixed -2.1.0

    Affected versions

    1.14.0
    1.14.1
    1.14.2
    1.14.3
    1.14.4
    1.14.5
    1.14.6

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-g98m-96g9-wfjq | CVE-DB