github.com/treeverse/lakefs
Affected
- introduced
0, fixed1.3.1(semver)
Fixed versions
1.3.1
Fix
- Fixed version
1.3.1go get github.com/treeverse/[email protected]
Advisory
Also known as: GO-2023-2397
User with permission to write actions can impersonate another user when auth token is configured in environment variable
Impact
When lakeFS is configured with ALL of the following:
auth.encrypt.secret_key passed through environment variableactions.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:
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.
Medium Basis: The source's own band: MODERATE
0, fixed 1.3.1 (semver)1.3.1
1.3.1go get github.com/treeverse/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0