CVE-2024-29037 Default secret use for initial deployment
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
- Technology
- Kubernetes
Description
datahub-helm provides the Kubernetes Helm charts for deploying Datahub and its dependencies on a Kubernetes cluster. Starting in version 0.1.143 and prior to version 0.2.182, due to configuration issues in the helm chart, if there was a successful initial deployment during a limited window of time, personal access tokens were possibly created with a default secret key. Since the secret key is a static, publicly available value, someone could inspect the algorithm used to generate personal access tokens and generate their own for an instance. Deploying with Metadata Service Authentication enabled would have been difficult during window of releases. If someone circumvented the helm settings and manually set Metadata Service Authentication to be enabled using environment variables directly, this would skip over the autogeneration logic for the Kubernetes Secrets and DataHub GMS would default to the signing key specified statically in the application.yml. Most deployments probably did not attempt to circumvent the helm settings to enable Metadata Service Authentication during this time, so impact is most likely limited. Any deployments with Metadata Service Authentication enabled should ensure that their secret values are properly randomized. Version 0.2.182 contains a patch for this issue. As a workaround, one may reset the token signing key to be a random value, which will invalidate active personal access tokens.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| acryldata datahub-helm | = >= 0.1.143, < 0.2.182; >= 0.1.143, < 0.2.182 | 0.2.182 | Fixed |
| datahub-helm | >= 0.1.143, < 0.2.182 | 0.2.182 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| acryldata datahub-helm | = >= 0.1.143, < 0.2.182 | No fix listed |
| acryldata datahub-helm | >= 0.1.143, < 0.2.182 | 0.2.182 |
| datahub-helm | >= 0.1.143, < 0.2.182 | 0.2.182 |
References
- https://github.com/acryldata/datahub-helm/security/advisories/GHSA-82p6-9h7m-9h8j vendor-advisory
- https://github.com/acryldata/datahub-helm/commit/ea8a17860f053c63387b8309e1f77c0e1462a1b3 issue-tracking release-notes