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

 

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

Published: July 29, 2022


Vulnerability identifier: #VU65875
CSH Severity: Low
CVSS v4: 6.7 [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]
CVE-ID: CVE-2022-2417
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

GitLab Enterprise Edition
Gitlab Community Edition

How to mitigate CVE-2022-2417

Install updates from vendor's website.

GitLab Enterprise Edition - addressed in versions 15.0.5, 15.1.4, 15.2.1
Gitlab Community Edition - addressed in versions 15.0.5, 15.1.4, 15.2.1

External References

Related Security Bulletins