-
CVSS Score
-| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| github.com/treeverse/lakefs | go | < 1.3.1 | 1.3.1 |
The vulnerability stems from two key points: (1) The secret key is exposed via environment variables, which are accessible in action execution contexts. (2) Token generation relies on this exposed secret. The functions loadSecretKeyFromEnv and GenerateAuthToken directly handle these insecure interactions. The first retrieves the secret from an insecure source (environment variable), and the second uses it to create tokens without adequate validation of caller context when processing user-controlled actions. The workaround to avoid environment variables for the secret key further supports this root cause analysis.
A Semantic Attack on Google Gemini - Read the Latest Research