Lucene search

K
cveGitHub_MCVE-2023-25558
HistoryFeb 11, 2023 - 1:23 a.m.

CVE-2023-25558

2023-02-1101:23:26
CWE-502
GitHub_M
web.nvd.nist.gov
20
datahub
metadata platform
sso
pac4j library
rce
remote code execution
ghsl-2022-086
vulnerability

CVSS3

8.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

AI Score

9.2

Confidence

High

EPSS

0.003

Percentile

69.3%

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.

Affected configurations

Nvd
Vulners
Node
datahub_projectdatahubRange<0.9.5
VendorProductVersionCPE
datahub_projectdatahub*cpe:2.3:a:datahub_project:datahub:*:*:*:*:*:*:*:*

CNA Affected

[
  {
    "vendor": "datahub-project",
    "product": "datahub",
    "versions": [
      {
        "version": "< 0.9.5",
        "status": "affected"
      }
    ]
  }
]

CVSS3

8.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

AI Score

9.2

Confidence

High

EPSS

0.003

Percentile

69.3%

Related for CVE-2023-25558