SecurityContext

CVE-2022-4037: GitLab - Authentication Bypass

  • Cve: CVE-2022-4037
  • Name: GitLab - Authentication Bypass
  • Description: An issue has been discovered in GitLab CE/EE affecting all versions before 15.5.7, all versions starting from 15.6 before 15.6.4, all versions starting from 15.7 before 15.7.2. A race condition can lead to verified email forgery and takeover of third-party accounts when using GitLab as an OAuth provider.
  • Impact: Attackers can forge verified emails and hijack third-party accounts, leading to unauthorized access and potential data breach.
  • Remediation: Update to version 15.5.7, 15.6.4, or 15.7.2 or later.
  • Vulnerability type: race_condition
  • Vulnerability impact: privilege_escalation
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.5
  • Cvss vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
  • Epss score: 0.00681
  • Epss percentile: 0.53387
  • Assignee: [email protected]
  • Published at: 2023-01-12T04:15:09Z
  • Age in days: 1412
  • Modified at: 2026-06-17T05:19:49Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-4037
  • 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: requirements

Cwe

IdName
CWE-362Concurrent Execution using Shared Resource with Improper Synchronization

Hackerone

  • Reports: 1
  • Rank: 5211

References

UrlSourceTags
https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-4037.jsonnvdVendor Advisory
https://hackerone.com/reports/1772543nvdPermissions Required, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
gitlab:gitlab>= 15.7.0, < 15.7.2; >= 15.6.0, < 15.6.4; < 15.5.7nonvd/v1/products/gitlab/gitlab

Index

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

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Hackerone reports: 1
  • 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