Security Experts:

GitLab Patches Critical Remote Code Execution Vulnerability

DevOps platform GitLab has issued patches for a critical remote code execution vulnerability impacting its GitLab Community Edition (CE) and Enterprise Edition (EE) releases.

Tracked as CVE-2022-2884 (CVSS 9.9/10 severity), the security flaw can be exploited via the GitHub import API, but requires authentication to be triggered.

“A vulnerability in GitLab CE/EE affecting all versions starting from 11.3.4 before 15.1.5, all versions starting from 15.2 before 15.2.3, all versions starting from 15.3 before 15.3.1 allows an authenticated user to achieve remote code execution via the Import from GitHub API endpoint,” GitLab said in an advisory.

“We strongly recommend that all installations running a version affected by the issues described are upgraded to the latest version as soon as possible,” the company added.

[ READ: Researchers Spot Supply Chain Attack Targeting GitLab CI Pipelines ]

For those unable to update their GitLab installations immediately, the company recommends disabling the GitHub import function from the ‘Visibility and access controls’ tab in the Settings menu (using an administrator account).

GitLab Community Edition and Enterprise Edition versions 15.3.1, 15.2.3, and 15.1.5 contain patches for this vulnerability.

GitLab made no mention of this vulnerability being exploited in in-the-wild attacks.

GitLab 15.3 also packs additional security improvements, such as the option to define password complexity requirements alongside minimum password length, the ability to add approval rules for all protected branches, and secure defaults for new access tokens.

Related: Critical Account Takeover Vulnerability Patched in GitLab Enterprise Edition

Related: Researchers Spot Supply Chain Attack Targeting GitLab CI Pipelines

Related: GitLab Patches Critical Account Takeover Vulnerability

view counter