Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS04NnJnLXBmNGMtNWdyZ84AA4MQ

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

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.

Permalink: https://github.com/advisories/GHSA-86rg-pf4c-5grg
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS04NnJnLXBmNGMtNWdyZ84AA4MQ
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: 4 months ago
Updated: 3 months ago


CVSS Score: 7.3
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N

Identifiers: GHSA-86rg-pf4c-5grg, CVE-2023-6944
References: Repository: https://github.com/backstage/backstage
Blast Radius: 18.1

Affected Packages

npm:@backstage/backend-app-api
Dependent packages: 16
Dependent repositories: 305
Downloads: 482,304 last month
Affected Version Ranges: < 0.5.9-next.1
Fixed in: 0.5.9-next.1
All affected versions: 0.1.0, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.3.0, 0.3.1, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.4.5, 0.5.0, 0.5.1, 0.5.2, 0.5.3, 0.5.4, 0.5.5, 0.5.6, 0.5.7, 0.5.8, 0.5.9-next.0
All unaffected versions: 0.5.9, 0.5.10, 0.5.11, 0.5.12, 0.5.13, 0.5.14, 0.6.0, 0.6.1, 0.6.2, 0.7.0, 0.7.1