CVE-2024-29037 Default secret use for initial deployment

Critical 9.1 Published Updated

Attackers can generate valid personal access tokens using a static default secret key if Metadata Service Authentication was manually enabled during specific deployments.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-29037?

CVE-2024-29037 is a critical vulnerability in acryldata datahub-helm, published on 20 Mar 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

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.

Weakness: CWE-1394

Which versions are affected by CVE-2024-29037?

It affects 1 product.

Products include Datahub Datahub-Helm.

How do I fix CVE-2024-29037?

No fix has been published for CVE-2024-29037 yet. Limit exposure of the affected software until one is available.

Is CVE-2024-29037 being exploited?

There is no known exploitation of CVE-2024-29037 in the wild and no public exploit code.

Sources

Also known as GHSA-82p6-9h7m-9h8j.

Is CVE-2024-29037 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free