Skip to content

Vulnerable Analytics-Utils Dependency in DataHub Frontend

High
david-leifker published GHSA-fmp6-j664-fqg5 Nov 14, 2023

Package

docker datahub-frontend (Docker)

Affected versions

< v0.11.0

Patched versions

v0.11.0

Description

Summary

DataHub Frontend was utilizing a vulnerable version of the analytics-utils package that was exploitable using malicious URL links to execute arbitrary Javascript on the user's browser.

Details

There was an XSS vulnerability in the version of analytics-utils that would allow an attacker to craft a malicious link to a DataHub instance. If an authenticated DataHub user clicked this link, it could result in a wide variety of attacks using executed Javascript.

PoC

An attacker would have to craft a malicious URL, coerce an authenticated user to click on it, and if the URL was crafted for example to invite a new user, could create their own user to log in as.

Impact

DataHub Frontend instances prior to v0.11 are vulnerable to such attacks.

Severity

High

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

CVE ID

No known CVE

Weaknesses

No CWEs

Credits