LiveActive security incident?Get immediate response
CVE Record

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

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.

MediumCVSS 5.7Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

Red Hat Developer Hub can expose a GitLab access token in a frontend error from the catalog-import function when the base64-encoded token ends with a newline. Anyone who obtains that token may act in GitLab according to its permissions, potentially changing repositories or keys. This is a credential exposure issue, not evidence of broad remote compromise.

Executive priority

Prioritize remediation for environments where RHDH imports GitLab catalogs with privileged tokens. Business urgency is moderate overall, but rises if exposed tokens can write code, manage keys, or affect signing workflows.

Technical view

CVE-2023-6944 is a CWE-209 information exposure flaw in RHDH-1.1-RHEL-9, package rhdh/rhdh-hub-rhel9 version 1.1-107.1724038966. The catalog-import error handling can display a raw GitLab access token in the frontend when the encoded token has a trailing newline. CVSS v3.1 is 5.7: AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N.

Likely exposure

Exposure appears limited to Red Hat Developer Hub 1.1 on RHEL 9 using the affected rhdh/rhdh-hub-rhel9 package and GitLab catalog-import tokens. Risk depends heavily on whether tokens with trailing newlines were configured and what GitLab permissions those tokens held.

Exploitation context

The provided sources do not show CISA KEV listing or confirmed active exploitation. The scenario requires some privileges and user interaction, but leaked tokens could have high confidentiality impact and enable downstream GitLab abuse depending on token scope.

Researcher notes

Evidence is vendor-sourced and specific. The vulnerable behavior is a sanitized error disclosure path tied to trailing newline handling in a base64-encoded GitLab token. No exploit procedure, public exploitation, or independent confirmation is included in the supplied bundle.

Mitigation direction

  • Review Red Hat advisory RHBA-2024:5869 and apply the vendor-provided update if applicable.
  • Rotate any GitLab tokens used by RHDH catalog-import.
  • Revoke tokens suspected of appearing in frontend errors.
  • Reduce GitLab token scopes to the minimum required permissions.
  • Check Red Hat guidance before applying environment-specific workarounds.

Validation and detection

  • Inventory RHDH 1.1 RHEL 9 deployments and rhdh/rhdh-hub-rhel9 package versions.
  • Identify catalog-import configurations using GitLab access tokens.
  • Check whether encoded GitLab token values include trailing newlines.
  • Review frontend error reports for accidental token disclosure.
  • Confirm affected tokens were rotated or revoked after remediation.
Prepared
Confidence
high
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-209: Information exposure and cloud metadata lookup

Information exposure and SSRF weaknesses can make discovery, cloud metadata, and credential material review relevant. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Credential and access behavior lookup

The CVE wording references authentication or credential exposure, so valid-account and credential-access review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2023-6944 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
5.7 (3.1)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
4Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
5.7CVSS 3.1MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N2.13.6Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

5.7Medium
CVSS 3.1 vector shape for CVE-2023-6944Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
Red HatRHDH-1.1-RHEL-9rhdh/rhdh-hub-rhel9, 1.1-107.1724038966affected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-209 · source CWE mapping

Generation of Error Message Containing Sensitive Information

Generation of Error Message Containing Sensitive Information represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.