Auth bypass in Datahub
CVE-2022-39366
DataHub is an open-source metadata platform. Prior to version 0.8.45, the `StatelessTokenService` of the DataHub metadata service (GMS) does not verify the signature of JWT tokens. This allows an attacker to connect to DataHub instances as any user if Metadata Service authentication is enabled. This vulnerability occurs because the `StatelessTokenService` of the Metadata service uses the `parse` method of `io.jsonwebtoken.JwtParser`, which does not perform a verification of the cryptographic token signature. This means that JWTs are accepted regardless of the used algorithm. This issue may lead to an authentication bypass. Version 0.8.45 contains a patch for the issue. There are no known workarounds.
Vulnerability class: Broken Authentication
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.9 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:L.
EPSS exploit prediction
EPSS: 0.009 (58.3th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 58th percentile — 58.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.009 · newest: 0.009 · change: 0.000
Affected products
- Datahub
- Datahub-Project Datahub — versions < 0.8.45
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/datahub-project/datahub/security/advisories/GHSA-r8gm-v65f-c973 (Third Party Advisory)
- codeql.github.com/codeql-query-help/java/java-missing-jwt-signature-check/ (Third Party Advisory)
- github.com/datahub-project/datahub/blob/aa146db611e3a4ca3aa17bb740783f789d4444d… (Exploit, Third Party Advisory)
- github.com/datahub-project/datahub/blob/aa146db611e3a4ca3aa17bb740783f789d4444d… (Exploit, Third Party Advisory)
- github.com/datahub-project/datahub/releases/tag/v0.8.45 (Third Party Advisory)
Frequently asked questions
- What is CVE-2022-39366?
- CVE-2022-39366 is a critical-severity vulnerability in Datahub, classified under Improper Authentication. CVSS score: 9.9/10. Published 2022-10-28.
- How severe is CVE-2022-39366?
- Critical severity. CVSS v3 base score is 9.9 out of 10.
- Is CVE-2022-39366 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.