First published: Tue Dec 19 2023(Updated: )
A flaw was found in Red Hat Developer Hub (RHDH) in the catalog-import function. The vulnerability is that the catalog-import function leaks GitLab access tokens on the frontend. This leakage occurs when the base64 encoded GitLab token includes a newline at the end of the string. The sanitized error displayed on the frontend inadvertently includes the raw access token, which should never be exposed to frontend users. The impact of this vulnerability is significant. An attacker, upon gaining access to this token, could potentially execute a range of malicious activities depending on the token's permissions. These activities could include pushing malicious code to repositories, deleting resources in Git, revoking or generating new keys, or even signing code illegitimately.
Credit: secalert@redhat.com secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
npm/@backstage/backend-app-api | <0.5.9-next.1 | 0.5.9-next.1 |
redhat/rhdh | <1.21.0 | 1.21.0 |
Redhat Red Hat Developer Hub | <1.21.0 | |
Backstage | <1.21.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2023-6944 has a moderate severity due to the potential exposure of sensitive GitLab access tokens.
To remediate CVE-2023-6944, update Red Hat Developer Hub to version 1.21.0 or later.
CVE-2023-6944 affects Red Hat Developer Hub versions prior to 1.21.0 and certain versions of Linux Foundation's Backstage.
CVE-2023-6944 leaks GitLab access tokens on the frontend, potentially exposing user credentials.
Currently, the recommended fix for CVE-2023-6944 is to upgrade to the patched versions as no specific workaround has been provided.