NetSight
hoch7.3

CVE-2023-6944

@backstage/backend-app-api leaks GitLab access tokens

Auswirkung

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.

Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, mit einem normalen Benutzerkonto, allerdings muss ein Nutzer etwas tun, etwa eine Datei oder einen Link öffnen. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden.

Betroffene Pakete

ÖkosystemPaketBetroffenBehoben in
npm@backstage/backend-app-api< 0.5.9-next.10.5.9-next.1

Betroffene Produkte

HerstellerProduktBetroffene Versionen
LinuxfoundationBackstage
vor 1.21.0
Red HatRed Hat Developer Hub
vor 1.21.0

Schwachstellenklasse

Referenzen