← back
CVE-2024-29037

Default secret use for initial deployment

CVSS 9.1 CRITICALEPSS 0.6%CWE-1394
In short

DataHub Helm charts used a default, publicly known secret key to create security tokens during initial deployment, allowing attackers to forge authentication tokens and gain unauthorized access if they knew this key.

Technical detail

CWE-1394 (Use of a Broken or Risky Cryptographic Algorithm): Versions 0.1.143 to 0.2.181 of datahub-helm deployed with hardcoded static signing keys for personal access token generation when Metadata Service Authentication was enabled; an attacker with knowledge of the public algorithm and default key could generate valid tokens to impersonate users. Affected deployments where authentication was manually enabled via environment variables, bypassing helm protections, were most at risk.

Summary generated and translated by AI from the official 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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Affected products
acryldata · datahub-helm

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →