CVE-2023-6944
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Red Hat | RHDH-1.1-RHEL-9 | 1.1-107.1724038966 < * | unaffected |
Weaknesses
- CWE-209: Generation of Error Message Containing Sensitive Information
Workarounds
To mitigate this vulnerability until you can update to RHDH 1.1, ensure that the base64 encoded GitLab token does not contain a newline character at the end. Removing the newline from the token prevents the unintended disclosure of the access token through the frontend.
ADP Enrichment
CVE Program Container
Additional References
- https://access.redhat.com/security/cve/CVE-2023-6944
- https://bugzilla.redhat.com/show_bug.cgi?id=2255204
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: partial
References
- https://access.redhat.com/errata/RHBA-2024:5869
- https://access.redhat.com/security/cve/CVE-2023-6944
- https://bugzilla.redhat.com/show_bug.cgi?id=2255204
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.