{"url":"http://public2.vulnerablecode.io/api/packages/136202?format=json","purl":"pkg:golang/github.com/treeverse/lakefs@1.3.1","type":"golang","namespace":"github.com/treeverse","name":"lakefs","version":"1.3.1","qualifiers":{},"subpath":"","is_vulnerable":false,"next_non_vulnerable_version":"1.12.1","latest_non_vulnerable_version":"1.77.0","affected_by_vulnerabilities":[],"fixing_vulnerabilities":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/106539?format=json","vulnerability_id":"VCID-vgbw-4kkm-m3ap","summary":"User with permission to write actions can impersonate another user when auth token is configured in environment variable\n### Impact\n\nWhen lakeFS is configured with **ALL** of the following:\n\n- Configuration option `auth.encrypt.secret_key` passed through environment variable\n- Actions enabled via configuration option `actions.enabled` (default enabled)\n\nthen a user who can configure an action can impersonate any other user.\n\n### Patches\n_Has the problem been patched? What versions should users upgrade to?_\n\n### Workarounds\n\n**ANY ONE** of these is sufficient to prevent the issue:\n\n* Do not pass `auth.encrypt.secret_key` through an environment variable.\n\n   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).\n* Disable actions.\n* Limit users allowed to configure actions.","references":[{"reference_url":"https://github.com/treeverse/lakeFS","reference_id":"","reference_type":"","scores":[{"value":"6.2","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:L"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/treeverse/lakeFS"},{"reference_url":"https://github.com/treeverse/lakeFS/security/advisories/GHSA-26hr-q2wp-rvc5","reference_id":"","reference_type":"","scores":[{"value":"6.2","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:L"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/treeverse/lakeFS/security/advisories/GHSA-26hr-q2wp-rvc5"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/136202?format=json","purl":"pkg:golang/github.com/treeverse/lakefs@1.3.1","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:golang/github.com/treeverse/lakefs@1.3.1"}],"aliases":["GHSA-26hr-q2wp-rvc5"],"risk_score":null,"exploitability":null,"weighted_severity":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-vgbw-4kkm-m3ap"}],"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/packages/pkg:golang/github.com/treeverse/lakefs@1.3.1"}