GHSA-26hr-q2wp-rvc5

    Dashboard / Vulnerabilities / GHSA-26hr-q2wp-rvc5

    GHSA-26hr-q2wp-rvc5

    Published: 12 Dec 2023Last Modified: 21 Aug 2024
    Aliases:

    Summary: User with permission to write actions can impersonate another user when auth token is configured in environment variable

    Details: ### Impact When lakeFS is configured with **ALL** of the following: - Configuration option `auth.encrypt.secret_key` passed through environment variable - Actions enabled via configuration option `actions.enabled` (default enabled) then a user who can configure an action can impersonate any other user. ### Patches _Has the problem been patched? What versions should users upgrade to?_ ### Workarounds **ANY ONE** of these is sufficient to prevent the issue: * Do not pass `auth.encrypt.secret_key` through an environment variable. For instance, Kubernetes users can generate the entire configuration as a secret and mount that. This is described [here](https://kubernetes.io/docs/concepts/configuration/secret/#using-a-secret). * Disable actions. * Limit users allowed to configure actions.

    Affected packages

    Package

    Name: github.com/treeverse/lakefs

    Purl: pkg:golang/github.com/treeverse/lakefs

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -1.3.1

    Affected versions

    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