CVE-2023-6944 json
Rhdh: catalog-import function leaks credentials to frontend
published 2024-01-04 2 y ago modified 2026-06-17 4 mo ago also GHSA-86rg-pf4c-5grg , EUVD-2024-0292
- cvss
- 5.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 46%
- public exploits
- 0
- none known
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.
Patch / fix
- npm @backstage/backend-app-api 0.5.9-next.1
- Red Hat RHDH-1.1-RHEL-9 1.1-107.1724038966
- github.com/backstage/backstage@0382db6 commit
- github.com/backstage/backstage#21582 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-6944 updated cvss 5.7
RHDH: catalog-import function leaks credentials to frontend
-
Red Hat RHDH 1.1 for RHEL 9 rhdh/rhdh-hub-rhel9 1.1-107.1724038966fixed: vendor fix RHBA-2024:5869
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.56% chance of exploitation in the next 30 days, higher than 46% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N |
| NVD | 3.1 | 5.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @backstage/backend-app-api | <0.5.9-next.1 |
0.5.9-next.1 |
Affected products
- Red Hat RHDH-1.1-RHEL-9
Classification
References
-
github.com
/backstage/backstage/pull/21582
web
-
github.com
/backstage/backstage/commit/0382db60f6c8e8715a702bde6408ad10a48d8e11
web
-
access.redhat.com
/errata/RHBA-2024:5869
vendor-advisory, web
-
access.redhat.com
/security/cve/CVE-2023-6944
vdb-entry, web, vendor-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=2255204
issue-tracking, web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2023-6944
advisory
-
github.com
/backstage/backstage/issues/21503
web
-
github.com
/backstage/backstage
package
-
github.com
/backstage/backstage/blob/master/docs/releases/v1.21.0-next.2-changelog.md
web
-
cve.org
/CVERecord?id=CVE-2023-6944
web
Sources
- CVE List CVE-2023-6944
- GitHub Advisory GHSA-86rg-pf4c-5grg
- NVD CVE-2023-6944
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.