Lucene search

K
cvelistRedhatCVELIST:CVE-2023-6944
HistoryJan 04, 2024 - 10:02 a.m.

CVE-2023-6944 Rhdh: catalog-import function leaks credentials to frontend

2024-01-0410:02:38
CWE-209
redhat
www.cve.org
cve-2023-6944
red hat developer hub
gitlab access tokens
frontend
base64 encoded
newline
sanitized error
permissions

5.7 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

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

5.7 Medium

AI Score

Confidence

High

0.0005 Low

EPSS

Percentile

18.3%

A flaw was found in the Red Hat Developer Hub (RHDH). The catalog-import function leaks GitLab access tokens on the frontend when the base64 encoded GitLab token includes a newline at the end of the string. The sanitized error can display on the frontend, including the raw access token. Upon gaining access to this token and depending on permissions, an attacker could push malicious code to repositories, delete resources in Git, revoke or generate new keys, and sign code illegitimately.

CNA Affected

[
  {
    "vendor": "Red Hat",
    "product": "Red Hat Developer Hub",
    "collectionURL": "https://catalog.redhat.com/software/containers/",
    "packageName": "rhdh-hub-container",
    "defaultStatus": "affected",
    "cpes": [
      "cpe:/a:redhat:rhdh:1"
    ]
  }
]

5.7 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

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

5.7 Medium

AI Score

Confidence

High

0.0005 Low

EPSS

Percentile

18.3%

Related for CVELIST:CVE-2023-6944