CVE-2022-39366CWE-287CWE-303

DataHub missing JWT signature check

Critical · published October 28, 2022

CVSS v3.1
9.9
EPSS
1%
Percentile
60.1
In the wild
Unconfirmed
What it is

🚨 An unverified JWT means all bets are off! Before version 0.8.45, DataHub’s `StatelessTokenService` can let attackers waltz in as any user without breaking a sweat! 🔥 Think of it like a hotel that issues keys without checking IDs — anyone can walk in and claim to be any guest. That's how this vulnerability works; a user could easily impersonate anyone else without the proper checks in place. An attacker could gain unauthorized access to sensitive data and actions on your DataHub instance, potentially leading to a catastrophic data breach or misuse of resources. Imagine an intruder taking over any account without a single guard stopping them — a security nightmare!

Put simply

Think of it like a hotel that issues keys without checking IDs — anyone can walk in and claim to be any guest. That's how this vulnerability works; a user could easily impersonate anyone else without the proper checks in place. This vulnerability arises because the `StatelessTokenService` neglects to verify the signature of JWT tokens, permitting any token to allow access to the system, regardless of its origin or authenticity. The `parse` method used does not perform necessary checks on the cryptographic signature, allowing for complete authentication bypass.

What to do

An attacker could gain unauthorized access to sensitive data and actions on your DataHub instance, potentially leading to a catastrophic data breach or misuse of resources. Imagine an intruder taking over any account without a single guard stopping them — a security nightmare! To fortify your defenses, patch your DataHub to version 0.8.45 immediately. Ensure that JWT verification is properly implemented, and review your security policies to prevent unauthorized access in the future. You've got this! Follow these steps, and you'll secure your DataHub in no time! 🛡️

The record
Technical detail
CVSS v3.1
9.9 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:L
CVSS v4.0
Not supplied
EPSS
0.00926 · 60.1th percentile
Weaknesses
CWE-287 · Improper Authentication; CWE-303 · Incorrect Implementation of Authentication Algorithm
Published
2022-10-28T00:00Z
EPSS history
Timeline
  • 28 OCT 00:00Z
    DataHub missing JWT signature check
    cvelistv5