SecurityContext

CVE-2022-2417: GitLab - Broken Access Control

  • Cve: CVE-2022-2417
  • Name: GitLab - Broken Access Control
  • Description: 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.
  • Impact: Attackers can import malicious projects with crafted branch names, potentially compromising supply chain security.
  • Remediation: Update to GitLab 15.0.5, 15.1.4, or 15.2.1 or later versions.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: information_disclosure
  • Requirement type: logged_in
  • Requirements: Attacker needs to be authenticated and authorized user
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 4.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N
  • Epss score: 0.00732
  • Epss percentile: 0.55249
  • Assignee: [email protected]
  • Published at: 2022-08-05T16:15:11Z
  • Age in days: 1572
  • Modified at: 2026-06-17T04:41:51Z
  • Patch available: yes
  • References total: 1
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-2417
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-20Improper Input Validation

References

UrlSourceTags
https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2417.jsonnvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
gitlab:gitlab= 15.2; >= 15.1.0, < 15.1.4; >= 12.10.0, < 15.0.5nonvd/v1/products/gitlab/gitlab

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 66493
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports