Skip to main content

CVE-2022-3067: Improper access control in GitLab in GitLab GitLab

Medium
VulnerabilityCVE-2022-3067cvecve-2022-3067
Published: Mon Oct 17 2022 (10/17/2022, 00:00:00 UTC)
Source: CVE
Vendor/Project: GitLab
Product: GitLab

Description

An issue has been discovered in the Import functionality of GitLab CE/EE affecting all versions starting from 14.4 before 15.2.5, all versions starting from 15.3 before 15.3.4, all versions starting from 15.4 before 15.4.1. It was possible for an authenticated user to read arbitrary projects' content given the project's ID.

AI-Powered Analysis

AILast updated: 07/04/2025, 19:43:17 UTC

Technical Analysis

CVE-2022-3067 is a medium-severity vulnerability affecting GitLab Community Edition (CE) and Enterprise Edition (EE) versions starting from 14.4 up to but not including 15.2.5, versions from 15.3 up to but not including 15.3.4, and versions from 15.4 up to but not including 15.4.1. The vulnerability resides in the Import functionality of GitLab, where improper access control allows an authenticated user to read arbitrary project content by specifying the project's ID. This means that any user with valid credentials, regardless of their permission level, could potentially access the contents of projects they are not authorized to view. The vulnerability is classified under CWE-284 (Improper Access Control), indicating that the system fails to restrict access to resources properly. The CVSS v3.1 base score is 6.5, reflecting a medium severity level, with the vector indicating network attack vector (AV:N), low attack complexity (AC:L), requiring privileges (PR:L), no user interaction (UI:N), unchanged scope (S:U), high confidentiality impact (C:H), no integrity impact (I:N), and no availability impact (A:N). No known exploits are reported in the wild, and no official patch links are provided in the data, but GitLab has presumably addressed this issue in versions 15.2.5, 15.3.4, and 15.4.1 and later. The vulnerability allows unauthorized disclosure of sensitive project data, which could include source code, configuration files, and other proprietary information, potentially leading to intellectual property theft or aiding further attacks.

Potential Impact

For European organizations using GitLab for source code management and DevOps workflows, this vulnerability poses a significant risk to confidentiality. Unauthorized access to project repositories could lead to exposure of sensitive intellectual property, business logic, and potentially credentials or secrets stored within repositories. This could facilitate further attacks such as supply chain compromises, insider threats, or competitive espionage. Since GitLab is widely adopted across various industries in Europe, including finance, manufacturing, and government sectors, the impact could be broad. The vulnerability does not affect integrity or availability directly but compromises confidentiality, which is critical in regulated environments subject to GDPR and other data protection laws. Exposure of sensitive data could result in regulatory penalties, reputational damage, and loss of customer trust. The requirement for authentication limits exploitation to insiders or compromised accounts, but given the low attack complexity and lack of user interaction, attackers with valid credentials could exploit this vulnerability easily.

Mitigation Recommendations

European organizations should immediately verify their GitLab versions and upgrade to the patched releases: 15.2.5 or later for the 14.4+ branch, 15.3.4 or later for the 15.3 branch, and 15.4.1 or later for the 15.4 branch. If immediate upgrading is not feasible, organizations should restrict access to GitLab instances by enforcing strict authentication and authorization policies, including multi-factor authentication (MFA) for all users. Review and tighten project visibility settings and user permissions to minimize the number of users with access to sensitive projects. Implement network-level controls such as IP whitelisting and VPN access to limit exposure. Conduct audits of user accounts and monitor logs for unusual access patterns to detect potential exploitation attempts. Additionally, consider isolating critical projects in separate GitLab instances or repositories with enhanced security controls. Regularly review GitLab security advisories and subscribe to vendor notifications to stay informed about updates and patches.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
GitLab
Date Reserved
2022-08-30T00:00:00.000Z
Cisa Enriched
true
Cvss Version
3.1
State
PUBLISHED

Threat ID: 682d9815c4522896dcbd600a

Added to database: 5/21/2025, 9:08:37 AM

Last enriched: 7/4/2025, 7:43:17 PM

Last updated: 7/30/2025, 1:11:09 AM

Views: 14

Actions

PRO

Updates to AI analysis are available only with a Pro account. Contact root@offseq.com for access.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats