CVE-2023-25558

DataHub is an open-source metadata platform. When the DataHub frontend is configured to authenticate via SSO, it will leverage the pac4j library. The processing of the `id_token` is done in an unsafe manner which is not properly accounted for by the DataHub frontend. Specifically, if any of the id_token claims value start with the {#sb64} prefix, pac4j considers the value to be a serialized Java object and will deserialize it. This issue may lead to Remote Code Execution (RCE) in the worst case. Although a `RestrictedObjectInputStream` is in place, that puts some restriction on what classes can be deserialized, it still allows a broad range of java packages and potentially exploitable with different gadget chains. Users are advised to upgrade. There are no known workarounds. This vulnerability was discovered and reported by the GitHub Security lab and is tracked as GHSL-2022-086.
Configurations

Configuration 1 (hide)

cpe:2.3:a:datahub_project:datahub:*:*:*:*:*:*:*:*

History

21 Feb 2023, 19:56

Type Values Removed Values Added
First Time Datahub Project datahub
Datahub Project
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 8.8
CPE cpe:2.3:a:datahub_project:datahub:*:*:*:*:*:*:*:*
References (MISC) https://github.com/datahub-project/datahub/commit/2a182f484677d056730d6b4e9f0143e67368359f - (MISC) https://github.com/datahub-project/datahub/commit/2a182f484677d056730d6b4e9f0143e67368359f - Patch
References (MISC) https://github.com/datahub-project/datahub/security/advisories/GHSA-hrwp-2q5c-86wv - (MISC) https://github.com/datahub-project/datahub/security/advisories/GHSA-hrwp-2q5c-86wv - Vendor Advisory

11 Feb 2023, 01:23

Type Values Removed Values Added
New CVE

Information

Published : 2023-02-11 01:23

Updated : 2023-12-10 14:48


NVD link : CVE-2023-25558

Mitre link : CVE-2023-25558

CVE.ORG link : CVE-2023-25558


JSON object : View

Products Affected

datahub_project

  • datahub
CWE
CWE-502

Deserialization of Untrusted Data