{"id":"CVE-2022-39366","published":"2022-10-28T00:00:00Z","modified":"2025-04-22T17:16:53Z","title":"DataHub missing JWT signature check","vendor":"datahub-project","product":"datahub","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.9,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0114,"percentile":0.67398,"provenance":"source"},"cwes":[{"id":"CWE-303","name":"Incorrect Implementation of Authentication Algorithm"},{"id":"CWE-287","name":"Improper Authentication"}],"references":[{"url":"https://github.com/datahub-project/datahub/security/advisories/GHSA-r8gm-v65f-c973","tags":[]},{"url":"https://codeql.github.com/codeql-query-help/java/java-missing-jwt-signature-check/","tags":[]},{"url":"https://github.com/datahub-project/datahub/blob/aa146db611e3a4ca3aa17bb740783f789d4444d3/metadata-service/auth-impl/src/main/java/com/datahub/authentication/token/StatelessTokenService.java#L134","tags":[]},{"url":"https://github.com/datahub-project/datahub/blob/aa146db611e3a4ca3aa17bb740783f789d4444d3/metadata-service/auth-impl/src/main/java/com/datahub/authentication/token/StatelessTokenService.java#L30","tags":[]},{"url":"https://github.com/datahub-project/datahub/releases/tag/v0.8.45","tags":[]}],"priority":{"score":20.4,"factors":[{"name":"EPSS percentile","points":13.48},{"name":"CVSS severity","points":6.93}]},"vendorSlug":"datahub-project","affectedVersions":[{"vendor":"datahub-project","product":"datahub","versions":["< 0.8.45"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-04-22T15:39:26.505517Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"acryl-datahub","vulnerableRanges":["<0.8.45"],"patched":["0.8.45"],"from":["GHSA-r8gm-v65f-c973","PYSEC-2026-252"],"provenance":"source"}],"summary":{"text":"The DataHub metadata service (GMS) component of the datahub product, in versions prior to 0.8.45, has a flaw in its StatelessTokenService where JWT signatures are never verified, so tokens are accepted regardless of the algorithm used. An attacker with network access can exploit this without authenticating or any user interaction to connect to DataHub instances as any user, but only where Metadata Service authentication is enabled.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:12:43Z"},"euvd":{"id":"EUVD-2022-7158","exploited":false,"provenance":"source"}}