{"id":"CVE-2022-4331","details":"An issue has been discovered in GitLab EE affecting all versions starting from 15.1 before 15.7.8, all versions starting from 15.8 before 15.8.4, all versions starting from 15.9 before 15.9.2. If a group with SAML SSO enabled is transferred to a new namespace as a child group, it's possible previously removed malicious maintainer or owner of the child group can still gain access to the group via SSO or a SCIM token to perform actions on the group.","aliases":["BIT-gitlab-2022-4331"],"modified":"2026-04-10T04:52:03.751537Z","published":"2023-03-09T00:00:00Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/4xxx/CVE-2022-4331.json","cna_assigner":"GitLab"},"references":[{"type":"WEB","url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-4331.json"},{"type":"WEB","url":"https://hackerone.com/reports/1791518"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/4xxx/CVE-2022-4331.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-4331"},{"type":"REPORT","url":"https://gitlab.com/gitlab-org/gitlab/-/issues/385050"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.com/gitlab-org/gitlab","events":[{"introduced":"31c24d2d8643ee22211ef544a4538c4420e96dc9"},{"fixed":"d7f0ac7432bb9ab3f10b7025dc5f9d5b3fe8c76e"}],"database_specific":{"versions":[{"introduced":"15.1"},{"fixed":"15.7.8"}]}},{"type":"GIT","repo":"https://gitlab.com/gitlab-org/gitlab","events":[{"introduced":"1d89c23c9f904e710e6e4ebdbc5bdd39cbb83717"},{"fixed":"089019df22f87ccb9fff3ff3fe710f70f77084d3"}],"database_specific":{"versions":[{"introduced":"15.8"},{"fixed":"15.8.4"}]}},{"type":"GIT","repo":"https://gitlab.com/gitlab-org/gitlab","events":[{"introduced":"b107c0bae0871a67dee31ad8e52550d32c4afb66"},{"fixed":"d80458522dd70245b7e0b9f1297f1dd227ebc10a"}],"database_specific":{"versions":[{"introduced":"15.9"},{"fixed":"15.9.2"}]}}],"versions":["v15.8.0-ee","v15.8.3-ee","v15.9.0-ee","v15.9.1-ee"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-4331.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N"}]}