Deserialization of untrusted data in DataHub
CVE-2023-25558
7.5HIGH
What is CVE-2023-25558?
A vulnerability exists in the DataHub platform's frontend when configured for Single Sign-On (SSO) that utilizes the pac4j library. The processing of id_token may lead to unsafe deserialization. If the value of the id_token claims starts with the {#sb64} prefix, it can be treated as a serialized Java object, allowing for potential Remote Code Execution. The implementation of RestrictedObjectInputStream provides some limitations on deserialization, yet it still opens the door to certain Java packages being exploited through various gadget chains. Users should immediately upgrade their systems as no workarounds are available.
Affected Version(s)
datahub < 0.9.5
