CVE-2023-6944

Rhdh: catalog-import function leaks credentials to frontend

Published Jan 4, 2024 CVSS 3.1 · 5.7 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

No analysis available yet

Remediation

Vendor Workaround

To mitigate this vulnerability until you can update to RHDH 1.1, ensure that the base64 encoded GitLab token does not contain a newline character at the end. Removing the newline from the token prevents the unintended disclosure of the access token through the frontend.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-0292 @backstage/backend-app-api leaks GitLab access tokens
Github GHSA Github GHSA GHSA-86rg-pf4c-5grg @backstage/backend-app-api leaks GitLab access tokens
History
Type Values Removed Values Added
CPEs cpe:/a:redhat:rhdh:1 cpe:/a:redhat:rhdh:1.1::el9
References
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses
  • CWE-209

    Generation of Error Message Containing Sensitive Information

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 20, 2025, 6:07 PM
Reserved
Dec 19, 2023, 10:23 AM
Status
Modified
Published
Jan 4, 2024, 10:15 AM
Modified
Jun 17, 2026, 6:51 AM
Severity
Moderate
Public date
Dec 19, 2023, 12:00 AM