Rhdh: catalog-import function leaks credentials to frontend
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-209.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Red Hat | RHDH-1.1-RHEL-9 | — | 1.1-107.1724038966 | Patch available | CNA |
| — | @backstage/backend-app-api (npm) | before 0.5.9-next.1 | 0.5.9-next.1 | Patch available | GHSA-86rg-pf4c-5grg |
- RHDH-1.1-RHEL-9 VendorRed Hat Affected — Fixed in 1.1-107.1724038966 Patch available CNA
- @backstage/backend-app-api (npm) Vendor— Affected before 0.5.9-next.1 Fixed in 0.5.9-next.1 Patch available GHSA-86rg-pf4c-5grg
Remediation
- Fix · CNA RHDH-1.1-RHEL-9 (Red Hat) Fixed in 1.1-107.1724038966
- Fix · GHSA-86rg-pf4c-5grg @backstage/backend-app-api (npm) Fixed in 0.5.9-next.1 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| RHDH 1.1 for RHEL 9 | Fixed | — |
Timeline
- 2026-10-02 Threatist record created from CVE-2023-6944
- 2026-10-03 Alias added: GHSA-86rg-pf4c-5grg
References
Advisory 4
Other 6
- https://github.com/backstage/backstage/issues/21503
- https://github.com/backstage/backstage/pull/21582
- https://github.com/backstage/backstage/commit/0382db60f6c8e8715a702bde6408ad10a48d8e11
- https://github.com/backstage/backstage
- https://github.com/backstage/backstage/blob/master/docs/releases/v1.21.0-next.2-changelog.md
- https://www.cve.org/CVERecord?id=CVE-2023-6944
Sources
- CVE-2023-6944 · CVE Program
- CVE-2023-6944 · NVD
- FIRST EPSS
- GHSA-86rg-pf4c-5grg · GitHub Advisory Database · CC BY 4.0
- CVE-2023-6944 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences