Information Exposure Through an Error Message Affecting @backstage/backend-app-api package, versions <0.5.9-next.1


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.05% (23rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-BACKSTAGEBACKENDAPPAPI-6229731
  • published6 Feb 2024
  • disclosed4 Jan 2024
  • creditJosephine Pfeiffer

Introduced: 4 Jan 2024

CVE-2023-6944  (opens in a new tab)
CWE-209  (opens in a new tab)

How to fix?

Upgrade @backstage/backend-app-api to version 0.5.9-next.1 or higher.

Overview

@backstage/backend-app-api is a Core API used by Backstage backend apps

Affected versions of this package are vulnerable to Information Exposure Through an Error Message via the catalog-import function when the base64 encoded GitLab token includes a newline at the end of the string. An attacker can gain access to GitLab tokens and potentially push malicious code to repositories, delete resources in Git, revoke or generate new keys, and sign code illegitimately by exploiting the leakage of GitLab access tokens on the frontend.

CVSS Scores

version 3.1