Live threats

All CVEs / Gitlab

CVE-2022-2417Gitlab

Medium 4.5

Priority
27
CVSS 3.1
4.5
EPSS
0.7%
probability of exploitation in 30 days · percentile 50
Auth required
Yes
Published
Aug 5, 2022
Updated
Jun 17, 2026
Category
Server · Cross-platform
Weakness (CWE)
CWE-20
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N

What happens

Insufficient validation in GitLab CE/EE affecting all versions from 12.10 prior to 15.0.5, 15.1 prior to 15.1.4, and 15.2 prior to 15.2.1 allows an authenticated and authorised user to 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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Gitlab.

Affected products (CPE)

VendorProductVersions
gitlabgitlab≥ 12.10.0 < 15.0.5
gitlabgitlab≥ 15.1.0 < 15.1.4
gitlabgitlab15.2
gitlabgitlab≥ 12.10.0 < 15.0.5
gitlabgitlab≥ 15.1.0 < 15.1.4
gitlabgitlab15.2

Official sources

References

Links published by the sources. Open them with care.