CVE-2022-2417

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-2417
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-2417.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-2417
Aliases
Downstream
Published
2022-08-05T15:10:27Z
Modified
2025-12-04T11:42:01.513607Z
Severity
  • 6.2 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:N/I:H/A:N CVSS Calculator
Summary
[none]
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2417.json",
    "cna_assigner": "GitLab"
}
References

Affected packages

Git / gitlab.com/gitlab-org/gitlab

Affected ranges

Type
GIT
Repo
https://gitlab.com/gitlab-org/gitlab
Events
Database specific
{
    "versions": [
        {
            "introduced": "12.10"
        },
        {
            "fixed": "15.0.5"
        }
    ]
}
Type
GIT
Repo
https://gitlab.com/gitlab-org/gitlab
Events
Database specific
{
    "versions": [
        {
            "introduced": "15.1"
        },
        {
            "fixed": "15.1.4"
        }
    ]
}
Type
GIT
Repo
https://gitlab.com/gitlab-org/gitlab
Events
Database specific
{
    "versions": [
        {
            "introduced": "15.2"
        },
        {
            "fixed": "15.2.1"
        }
    ]
}

Affected versions

v15.*

v15.1.0-ee
v15.1.1-ee
v15.1.2-ee
v15.1.3-ee
v15.2.0-ee