Insecure Use of HMAC-SHA1 For Session Signing in datahub
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-327.
Summary
DataHub is an open-source metadata platform. The HMAC signature for DataHub Frontend sessions was being signed using a SHA-1 HMAC with the frontend secret key. SHA1 with a 10 byte key can be brute forced using sufficient resources (i.e. state level actors with large computational capabilities). DataHub Frontend was utilizing the Play LegacyCookiesModule with default settings which utilizes a SHA1 HMAC for signing. This is compounded by using a shorter key length than recommended by default for the signing key for the randomized secret value. An authenticated attacker (or attacker who has otherwise obtained a session token) could crack the signing key for DataHub and obtain escalated privileges by generating a privileged session cookie. Due to key length being a part of the risk, deployments should update to the latest helm chart and rotate their session signing secret. All deployments using the default helm chart configurations for generating the Play secret key used for signing are affected by this vulnerability. Version 0.11.1 resolves this vulnerability. All users are advised to upgrade. There are no known workarounds for this vulnerability.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| datahub-project | datahub | before 0.11.1 | 0.11.1 | Patch available | CNA |
- datahub Vendordatahub-project Affected before 0.11.1 Fixed in 0.11.1 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:datahub_project:datahub:*:*:*:*:*:*:*:* | before 0.11.1 | Vulnerable | datahub-project |
- cpe:2.3:a:datahub_project:datahub:*:*:*:*:*:*:*:* Versions before 0.11.1 Vulnerable ·datahub-project
Remediation
- Fix · CNA datahub (datahub-project) Fixed in 0.11.1
Timeline
- 2026-10-02 Threatist record created from CVE-2023-47640
References
More datahub-project Datahub vulnerabilities
- TI-2024-14983 Default Privileges allow for high level operations for low privileged users in datahub CVSS 3.1HIGH 8.8
- TI-2023-25771 Privilege escalation through email sign-up in datahub CVSS 3.1HIGH 8.0
- TI-2023-25770 Session Expiration Misconfiguration in datahub CVSS 3.1MEDIUM 4.8
- TI-2023-10861 Deserialization of untrusted data in DataHub CVSS 3.1HIGH 8.8
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences