# CVE-2023-47640: Insecure Use of HMAC-SHA1 For Session Signing in datahub

- Severity: Medium 6.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-02)
- Published: 2023-11-14T20:55:02.080Z
- Modified: 2026-06-17T06:33:01.907Z
- Weaknesses: CWE-327
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- datahub-project datahub: < 0.11.1
- datahub_project datahub: before 0.11.1

## Every score

- GitHub_M: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:L`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/datahub-project/datahub/security/advisories/GHSA-fg9x-wvqw-6gmw> (third-party-advisory)

## Sources

- CVE List: [CVE-2023-47640](https://www.cve.org/CVERecord?id=CVE-2023-47640), CVE Terms of Use, modified 2025-01-07
- NVD: [CVE-2023-47640](https://nvd.nist.gov/vuln/detail/CVE-2023-47640), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-47640 · Whole record: https://cve.day/CVE-2023-47640.json · Rebuilt by cve.day 2026-11-25T22:58:30.478Z
