{"id":"CVE-2023-6944","published":"2024-01-04T10:02:38Z","modified":"2025-11-20T18:07:14Z","title":"Rhdh: catalog-import function leaks credentials to frontend","vendor":"Red Hat","product":"RHDH-1.1-RHEL-9","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00561,"percentile":0.47545,"provenance":"source"},"cwes":[{"id":"CWE-209","name":"Generation of Error Message Containing Sensitive Information"}],"references":[{"url":"https://access.redhat.com/errata/RHBA-2024:5869","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2023-6944","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2255204","tags":["issue-tracking","x_refsource_REDHAT"]}],"priority":{"score":13.5,"factors":[{"name":"EPSS percentile","points":9.51},{"name":"CVSS severity","points":3.99}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":"Red Hat","product":"RHDH-1.1-RHEL-9","versions":["all versions"]}],"workarounds":{"items":["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."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-01-09T16:10:23.297222Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@backstage/backend-app-api","vulnerableRanges":["<0.5.9-next.1"],"patched":["0.5.9-next.1"],"from":["GHSA-86rg-pf4c-5grg"],"provenance":"source"}],"summary":{"text":"A flaw in the catalog-import function of Red Hat Developer Hub (RHDH-1.1-RHEL-9) causes GitLab access tokens to be exposed on the frontend when the base64-encoded token ends with a newline, with the raw token potentially shown in a sanitized error message. An attacker who obtains such a token, network-reachable and with low privileges plus user interaction required, could push malicious code, delete resources, revoke or generate keys, and sign code illegitimately, depending on the token's permissions.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:44:15Z"},"euvd":{"id":"EUVD-2024-0292","exploited":false,"provenance":"source"}}