GitLab has urgently advised all users to patch their servers immediately, warning of a critical path traversal vulnerability that could grant attackers full read access to any file on the system. The security flaw, tracked as CVE-2023-2825, has been assigned the maximum CVSS score of 10.0, signifying its extreme severity and ease of exploitation.

The vulnerability affects both GitLab Community Edition (CE) and Enterprise Edition (EE). A successful exploit allows an unauthorized attacker to traverse the file system and read arbitrary files, a scenario that can lead to complete system compromise. Given GitLab's frequent exposure to the internet, this makes affected instances prime targets for automated attacks.

The risk is amplified by GitLab's central role in modern DevOps pipelines. These instances often store not just source code, but also CI/CD secrets, deployment tokens, and sensitive infrastructure configurations. A breach of this development "central nervous system" can therefore cascade directly into production environments, threatening the entire software supply chain.

GitLab has released fixed versions in all supported branches, and administrators are urged to upgrade to one of the following without delay: * GitLab 16.0.1 * GitLab 15.11.7 * GitLab 15.10.7

As a temporary mitigation if an immediate upgrade is not possible, GitLab recommends disabling the affected API endpoint. However, the organization stresses this is a stopgap only, likely to impact functionality, and must be followed by a permanent upgrade.

Post-patch, the response should not end. Organizations are advised to treat this as an incident, reviewing access logs for signs of exploitation and rotating any sensitive credentials—including SSH keys, access tokens, and secrets—stored within their GitLab environment.

This incident highlights the paramount security required for foundational development tooling. The combination of an easily exploitable flaw and the high-value targets these systems represent necessitates an emergency response, not routine maintenance. DevOps and security teams must prioritize this patching operation to prevent a potentially damaging compromise.


GitLab 緊急敦促所有用戶立即為其伺服器安裝補丁,警告存在一個嚴重的路徑遍歷漏洞,攻擊者可藉此讀取系統內任何檔案的完整內容。此安全漏洞已被編錄為 CVE-2023-2825,並獲得最高級別的 CVSS 分數 10.0,代表其極端嚴重性及極易被利用。

此漏洞影響 GitLab 社區版 (CE) 及企業版 (EE)。成功利用此漏洞可使未授權攻擊者遍歷檔案系統並讀取任意檔案,此情況可能導致系統被完全控制。鑑於 GitLab 經常暴露於互聯網上,受影響的實例成為自動化攻擊的主要目標。

由於 GitLab 在現代 DevOps 流程中扮演核心角色,此風險進一步放大。這些實例通常不僅儲存源代碼,還存放 CI/CD 密鑰 (secret)、部署 token 及敏感的基礎設施配置。因此,這個開發「中樞神經系統」若遭入侵,影響可能直接蔓延至生產環境,威脅整個軟件供應鏈。

GitLab 已在所有支援的分支中發佈修正版本,管理員應立即升級至以下任一版本: * GitLab 16.0.1 * GitLab 15.11.7 * GitLab 15.10.7

若無法立即升級,GitLab 建議臨時停用受影響的 API 端點作為緩解措施。然而,該公司強調這僅是權宜之計,可能影響功能,且必須隨後進行永久性升級。

補丁安裝後,回應工作不應就此結束。建議各組織將此視為安全事件,審查存取日誌以查明是否有利用跡象,並更換其 GitLab 環境內儲存的所有敏感憑證——包括 SSH 金鑰、存取 token 及密鑰 (secret)。

這次事件突顯了基礎開發工具所需具備的最高級別安全性。一個輕易利用的漏洞與這些系統所代表的高價值目標相結合,意味著必須採取緊急回應措施,而非例行維護。DevOps 和安全團隊必須優先處理這次補丁部署作業,以防止潛在的嚴重入侵。

新聞來源 / Original News Source