CVE-2022-39366
published critical CVSS 3.1 · 9.9DataHub missing JWT signature check
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| datahub-project | — | datahub< 0.8.45 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.9 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| datahub-project | datahub | < 0.8.45 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-303 CWE-303: Incorrect Implementation of Authentication Algorithm
- CWE-287 CWE-287: Improper Authentication
References
5- https://codeql.github.com/codeql-query-help/java/java-missing-jwt-signature-check/
- https://github.com/datahub-project/datahub/blob/aa146db611e3a4ca3aa17bb740783f789d4444d3/metadata-service/auth-impl/src/main/java/com/datahub/authentication/token/StatelessTokenService.java#L134
- https://github.com/datahub-project/datahub/blob/aa146db611e3a4ca3aa17bb740783f789d4444d3/metadata-service/auth-impl/src/main/java/com/datahub/authentication/token/StatelessTokenService.java#L30
- https://github.com/datahub-project/datahub/releases/tag/v0.8.45
- https://github.com/datahub-project/datahub/security/advisories/GHSA-r8gm-v65f-c973
Provider assertions
3GitHub_M · cna
DataHub missing JWT signature check
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 0198f815162718e827c8a8008fdc4f8111a977a109853a7feaf689c060b4b7a6
- Ingested
- 23 Sep 2026, 08:02:02 UTC
- Source record
- Official CVE record