CVE-2023-6944

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.
References
Configurations

Configuration 1 (hide)

cpe:2.3:a:redhat:red_hat_developer_hub:*:*:*:*:*:*:*:*

Configuration 2 (hide)

cpe:2.3:a:linuxfoundation:backstage:*:*:*:*:*:*:*:*

History

04 Feb 2024, 20:15

Type Values Removed Values Added
CWE CWE-200

10 Jan 2024, 17:04

Type Values Removed Values Added
First Time Linuxfoundation
Linuxfoundation backstage
Redhat red Hat Developer Hub
Redhat
CVSS v2 : unknown
v3 : 7.3
v2 : unknown
v3 : 5.7
References () https://access.redhat.com/security/cve/CVE-2023-6944 - () https://access.redhat.com/security/cve/CVE-2023-6944 - Vendor Advisory
References () https://bugzilla.redhat.com/show_bug.cgi?id=2255204 - () https://bugzilla.redhat.com/show_bug.cgi?id=2255204 - Issue Tracking, Vendor Advisory
CPE cpe:2.3:a:redhat:red_hat_developer_hub:*:*:*:*:*:*:*:*
cpe:2.3:a:linuxfoundation:backstage:*:*:*:*:*:*:*:*
CWE CWE-209

04 Jan 2024, 14:58

Type Values Removed Values Added
Summary
  • (es) Se encontró una falla en Red Hat Developer Hub (RHDH). La función catalog-import filtra tokens de acceso de GitLab en la interfaz cuando el token de GitLab codificado en base64 incluye una nueva línea al final de la cadena. El error sanitizado puede aparecer en la interfaz, incluido el token de acceso sin formato. Al obtener acceso a este token y dependiendo de los permisos, un atacante podría enviar código malicioso a repositorios, eliminar recursos en Git, revocar o generar nuevas claves y firmar código de forma ilegítima.

04 Jan 2024, 10:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-01-04 10:15

Updated : 2024-02-04 20:15


NVD link : CVE-2023-6944

Mitre link : CVE-2023-6944

CVE.ORG link : CVE-2023-6944


JSON object : View

Products Affected

redhat

  • red_hat_developer_hub

linuxfoundation

  • backstage
CWE
CWE-209

Generation of Error Message Containing Sensitive Information