CVE-2023-6944Redhat Red Hat Developer Hub
Medium 5.7
Follow: this CVE · Redhat · Redhat Red Hat Developer Hub We alert you by email or Slack (account required).
- Priority
- 34
- CVSS 3.1
- 5.7
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 53
- Auth required
- Yes
- Published
- Jan 4, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-209
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Red Hat Developer Hub.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | @backstage/backend-app-api |
< 0.5.9-next.1 |
0.5.9-next.1 |
npm install @backstage/backend-app-api@0.5.9-next.1 |
Per OSV / GitHub Advisories (GHSA-86rg-pf4c-5grg). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| redhat | red_hat_developer_hub | < 1.21.0 |
| linuxfoundation | backstage | < 1.21.0 |
Official sources
References
Links published by the sources. Open them with care.
- access.redhat.com
- access.redhat.com Vendor Advisory
- bugzilla.redhat.com Issue Tracking Vendor Advisory