Input validation error in Gitlab Community Edition and GitLab Enterprise Edition - CVE-2022-2417

 

Input validation error in Gitlab Community Edition and GitLab Enterprise Edition - CVE-2022-2417

Published: July 29, 2022


Vulnerability identifier: #VU65875
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2022-2417
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: GitLab, Inc
Affected software:
Gitlab Community Edition
GitLab Enterprise Edition

Detailed vulnerability description

The vulnerability allows a remote user to compromise the target system.

The vulnerability exists due to insufficient validation of user-supplied input. A remote administrator can import a project that includes branch names which are 40 hexadecimal characters, which could be abused in supply chain attacks where a victim pinned to a specific Git commit of the project.


How to mitigate CVE-2022-2417

Install updates from vendor's website.

Sources