{"id":"UBUNTU-CVE-2023-6840","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.","modified":"2025-10-24T05:01:40Z","published":"2024-02-07T22:15:00Z","upstream":["CVE-2023-6840"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-6840"},{"type":"REPORT","url":"https://about.gitlab.com/releases/2024/02/07/security-release-gitlab-16-8-2-released/#project-maintainers-can-bypass-groups-scan-result-policy-block_branch_modification-setting"},{"type":"REPORT","url":"https://gitlab.com/gitlab-org/gitlab/-/issues/435500"},{"type":"REPORT","url":"https://hackerone.com/reports/2280292"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-6840"}],"affected":[{"package":{"name":"gitlab","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/gitlab@8.5.8+dfsg-5?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.4.3+dfsg-9","8.4.3+dfsg-12","8.5.8+dfsg-5"],"ecosystem_specific":{"binaries":[{"binary_name":"gitlab","binary_version":"8.5.8+dfsg-5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-6840.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}