{"id":"CVE-2022-4037","state":"PUBLISHED","title":"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 r","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.","publishedAt":"2023-01-12T00:00:00.000Z","updatedAt":"2025-04-08T16:22:03.062Z","severity":{"score":6.4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","source":"GitLab"},"assigner":"GitLab","products":["GitLab GitLab"],"affected":[{"vendor":"GitLab","product":"GitLab","versions":[{"version":">=0.0, <15.5.7","status":"affected"},{"version":">=15.6, <15.6.4","status":"affected"},{"version":">=15.7, <15.7.2","status":"affected"}]}],"references":["https://gitlab.com/gitlab-org/gitlab/-/issues/382957","https://hackerone.com/reports/1772543","https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-4037.json"],"weaknesses":["CWE-362"],"ingestedAt":"2026-10-29T20:05:26.763Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/4xxx/CVE-2022-4037.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-4037","state":"PUBLISHED","datePublished":"2023-01-12T00:00:00.000Z","dateUpdated":"2025-04-08T16:22:03.062Z","assignerShortName":"GitLab","assignerOrgId":"ceab7361-8a18-47b1-92ba-4d7d25f6715a","dateReserved":"2022-11-16T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"GitLab","product":"GitLab","versions":[{"version":">=0.0, <15.5.7","status":"affected"},{"version":">=15.6, <15.6.4","status":"affected"},{"version":">=15.7, <15.7.2","status":"affected"}]}],"references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/382957"},{"url":"https://hackerone.com/reports/1772543"},{"url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-4037.json"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":6.4,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"type":"text","lang":"en","description":"Time-of-check time-of-use (toctou) race condition in GitLab"}]}],"providerMetadata":{"shortName":"GitLab","orgId":"ceab7361-8a18-47b1-92ba-4d7d25f6715a","dateUpdated":"2023-01-12T00:00:00.000Z"},"credits":[{"lang":"en","value":"Thanks to an anonymous researcher for reporting this vulnerability through our HackerOne bug bounty program"}]},"adp":[{"title":"CVE Program Container","references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/382957","tags":["x_transferred"]},{"url":"https://hackerone.com/reports/1772543","tags":["x_transferred"]},{"url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-4037.json","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T01:27:53.875Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-04-08T16:21:35.572752Z","id":"CVE-2022-4037","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-362","type":"CWE","lang":"en","description":"CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-04-08T16:22:03.062Z"}}]}}}