{"id":"CVE-2023-6840","summary":"Missing Authorization in GitLab","details":"An issue has been discovered in GitLab EE affecting all versions from 16.4 prior to 16.6.7, 16.7 prior to 16.7.5, and 16.8 prior to 16.8.2 which allows a maintainer to change the name of a protected branch that bypasses the security policy added to block MR.","aliases":["BIT-gitlab-2023-6840"],"modified":"2026-04-02T09:52:10.415687Z","published":"2024-02-07T22:02:20.934Z","database_specific":{"cwe_ids":["CWE-862"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/6xxx/CVE-2023-6840.json","cna_assigner":"GitLab"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/6xxx/CVE-2023-6840.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-6840"},{"type":"REPORT","url":"https://gitlab.com/gitlab-org/gitlab/-/issues/435500"},{"type":"REPORT","url":"https://hackerone.com/reports/2280292"},{"type":"PACKAGE","url":"git://git@gitlab.com:gitlab-org/gitlab.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.com/gitlab-org/gitlab","events":[{"introduced":"e4c1c182610739c1b1d10a8eacbea1f5aa837ad6"},{"fixed":"df35a584380b571e113908bcd4d13e28a002aa09"}],"database_specific":{"versions":[{"introduced":"16.4"},{"fixed":"16.6.7"}]}},{"type":"GIT","repo":"https://gitlab.com/gitlab-org/gitlab","events":[{"introduced":"9e7d34f7ff11405ece06ec398b66965d153cee6f"},{"fixed":"7f8d8e1af0b21cfdf58a4d00d5edb2c08dcfbc16"}],"database_specific":{"versions":[{"introduced":"16.7"},{"fixed":"16.7.5"}]}},{"type":"GIT","repo":"https://gitlab.com/gitlab-org/gitlab","events":[{"introduced":"1e912d57d5a8f1135f4d41e25469069790134d41"},{"fixed":"e3c23d67e9ce2f074cd79b753ef95291da459a93"}],"database_specific":{"versions":[{"introduced":"16.8"},{"fixed":"16.8.2"}]}}],"versions":["v16.4.0-ee","v16.4.1-ee","v16.4.2-ee","v16.4.3-ee","v16.4.4-ee","v16.4.5-ee","v16.4.6-ee","v16.4.6-rc42-ee","v16.4.7-ee","v16.7.0-ee","v16.7.2-ee","v16.7.3-ee","v16.7.4-ee","v16.8.0-ee","v16.8.1-ee"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-6840.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:H"}]}