SB2025021709 - Multiple vulnerabilities in GitLab Community Edition (CE) and Enterprise Edition (EE)
Published: February 17, 2025
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 8 vulnerabilities.
1) Cross-site scripting (CVE-ID: CVE-2025-0376)
CWE-ID: CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U/U:Clear
The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.
The vulnerability exists due to insufficient sanitization of user-supplied data in merge-request page. A remote user can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website.
Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.
2) Allocation of Resources Without Limits or Throttling (CVE-ID: CVE-2024-12379)
CWE-ID: CWE-770 - Allocation of Resources Without Limits or Throttling
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to unbounded symbol creation within the scopes parameter in a Personal Access Token. A remote user can cause a denial of service condition on the target system.
3) Input validation error (CVE-ID: CVE-2024-3303)
CWE-ID: CWE-20 - Improper input validation
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
The vulnerability allows a remote attacker to compromise the target system.
The vulnerability exists due to the prompt injection issue. A remote user can exfiltrate contents of a private issue.
4) Files or Directories Accessible to External Parties (CVE-ID: CVE-2025-1042)
CWE-ID: CWE-552 - Files or Directories Accessible to External Parties
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
The vulnerability allows a remote user to compromise the target system.
The vulnerability exists due to the insecure direct object reference issue. A remote administrator can view contents of a repository even if that access is not authorized.
5) Exposure of Sensitive System Information to an Unauthorized Control Sphere (CVE-ID: CVE-2025-1212)
CWE-ID: CWE-497 - Exposure of Sensitive System Information to an Unauthorized Control Sphere
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
The vulnerability allows a remote attacker to gain access to potentially sensitive information.
The vulnerability exists due to route confusion in workhorse. A remote user can send a specially crafted request to a backend server and reveal sensitive information.
6) Server-Side Request Forgery (SSRF) (CVE-ID: CVE-2024-9870)
CWE-ID: CWE-918 - Server-Side Request Forgery (SSRF)
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N/E:U/U:Green
The disclosed vulnerability allows a remote attacker to perform SSRF attacks.
The vulnerability exists due to insufficient validation of user-supplied input within workspaces. A remote user can send a specially crafted HTTP request and trick the application to initiate requests to arbitrary systems.
Successful exploitation of this vulnerability may allow a remote attacker gain access to sensitive data, located in the local network or send malicious requests to other servers from the vulnerable system.
7) Incorrect authorization (CVE-ID: CVE-2025-0516)
CWE-ID: CWE-863 - Incorrect Authorization
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
The vulnerability allows a remote attacker to bypass authorization checks.
The vulnerability exists due to improper authorization. A remote user can perform unauthorized actions on critical project data.
8) Insufficient Session Expiration (CVE-ID: CVE-2025-1198)
CWE-ID: CWE-613 - Insufficient Session Expiration
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
The vulnerability allows a remote attacker to compromise the target system.
The vulnerability exists due to the ActionCable does not invalidate tokens after revocation. A remote user can gain access to streaming results with revoked Personal Access Tokens.
Remediation
Install update from vendor's website.
References
- https://gitlab.com/gitlab-org/gitlab/-/issues/512603
- https://hackerone.com/reports/2930243
- https://gitlab.com/gitlab-org/gitlab/-/issues/508559
- https://hackerone.com/reports/2871791
- https://gitlab.com/gitlab-org/gitlab/-/issues/454460
- https://hackerone.com/reports/2418620
- https://gitlab.com/gitlab-org/gitlab/-/issues/50849943
- https://hackerone.com/reports/2886976
- https://gitlab.com/gitlab-org/gitlab/-/issues/502196
- https://gitlab.com/gitlab-org/gitlab/-/issues/498911
- https://hackerone.com/reports/2734142
- https://gitlab.com/gitlab-org/gitlab/-/issues/513540
- https://hackerone.com/reports/2914644
- https://gitlab.com/gitlab-org/gitlab/-/issues/511477