{"id":"CVE-2023-6840","aliases":["BIT-gitlab-2023-6840","UBUNTU-CVE-2023-6840"],"summary":"Missing Authorization in GitLab","published_at":"2024-02-07T22:02:20.934Z","modified_at":"2026-09-08T08:47:43.319265Z","products":[{"slug":"gitlab","name":"GitLab CE/EE","category":"gitops-cicd"}],"rating":{"severity":"medium","score":6.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:H","attack_path":"internet_authenticated","user_interaction":false,"malicious":false,"vendor_ratings":[{"source":"Ubuntu","rating":"medium"}]},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.00558000011369586,"percentile":0.47422999143600464,"date":"2026-11-20T00:00:00Z"},"priority":7.7,"record_count":5,"vendors":["Ubuntu","BSI","Bitnami"],"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.","affected_stack":[{"ecosystem":"CVE","package":"GitLab/GitLab","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"16.4"},{"fixed":"16.6.7"}]},{"type":"ECOSYSTEM","events":[{"introduced":"16.7"},{"fixed":"16.7.5"}]},{"type":"ECOSYSTEM","events":[{"introduced":"16.8"},{"fixed":"16.8.2"}]}],"fixed":["16.6.7","16.7.5","16.8.2"],"provider":"cvelistv5","source":"CVE-2023-6840","relation":"self"},{"ecosystem":"NVD","package":"gitlab:gitlab","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"16.4.0"},{"fixed":"16.6.7"}]},{"type":"ECOSYSTEM","events":[{"introduced":"16.7.0"},{"fixed":"16.7.5"}]},{"type":"ECOSYSTEM","events":[{"introduced":"16.8.0"},{"fixed":"16.8.2"}]}],"fixed":["16.6.7","16.7.5","16.8.2"],"provider":"nvd","source":"CVE-2023-6840","relation":"self"}],"affected_other":[{"ecosystem":"Bitnami","package":"gitlab","purl":"pkg:bitnami/gitlab","ranges":[{"type":"SEMVER","events":[{"introduced":"16.4.0"},{"fixed":"16.6.7"},{"introduced":"16.7.0"},{"fixed":"16.7.5"},{"introduced":"16.8.0"},{"fixed":"16.8.2"}]}],"fixed":["16.6.7","16.7.5","16.8.2"],"provider":"osv","source":"BIT-gitlab-2023-6840","relation":"self"},{"ecosystem":"Ubuntu:16.04:LTS","package":"gitlab","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"],"provider":"osv","source":"UBUNTU-CVE-2023-6840","relation":"self"}],"product_status":[],"records":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2024-0317","relation":"upstream","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2024-0317","license":"TLP:CLEAR, mirroring permitted","published_at":"2024-02-07T23:00:00Z","modified_at":"2024-02-07T23:00:00Z","summary":"GitLab: Mehrere Schwachstellen","details":"Ein entfernter, authentifizierter Angreifer kann mehrere Schwachstellen in GitLab ausnutzen, um seine Privilegien zu erhöhen, einen Denial-of-Service-Zustand zu verursachen oder Sicherheitsmaßnahmen zu umgehen.\n\nGitLab ist eine Webanwendung zur Versionsverwaltung für Softwareprojekte auf Basis von git.","severity":[{"type":"BSI","score":"mittel","source":"WID-SEC-W-2024-0317"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-0317.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2024-0317"},{"type":"WEB","url":"https://about.gitlab.com/releases/2024/02/07/security-release-gitlab-16-8-2-released/"},{"type":"WEB","url":"https://github.com/advisories/GHSA-4fr5-6ccq-75w2"}]},{"provider":"cvelistv5","source_id":"CVE-2023-6840","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2023-6840","license":"CC-BY-4.0","published_at":"2024-02-07T22:02:20.934Z","modified_at":"2026-04-24T04:07:19.586Z","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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:H","source":"CVE-2023-6840"}],"affected":[{"ecosystem":"CVE","package":"GitLab/GitLab","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"16.4"},{"fixed":"16.6.7"}]},{"type":"ECOSYSTEM","events":[{"introduced":"16.7"},{"fixed":"16.7.5"}]},{"type":"ECOSYSTEM","events":[{"introduced":"16.8"},{"fixed":"16.8.2"}]}],"fixed":["16.6.7","16.7.5","16.8.2"],"provider":"cvelistv5","source":"CVE-2023-6840","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://gitlab.com/gitlab-org/gitlab/-/issues/435500"},{"type":"EXPLOIT","url":"https://hackerone.com/reports/2280292"}]},{"provider":"nvd","source_id":"CVE-2023-6840","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-6840","severity":[],"affected":[{"ecosystem":"NVD","package":"gitlab:gitlab","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"16.4.0"},{"fixed":"16.6.7"}]},{"type":"ECOSYSTEM","events":[{"introduced":"16.7.0"},{"fixed":"16.7.5"}]},{"type":"ECOSYSTEM","events":[{"introduced":"16.8.0"},{"fixed":"16.8.2"}]}],"fixed":["16.6.7","16.7.5","16.8.2"],"provider":"nvd","source":"CVE-2023-6840","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"BIT-gitlab-2023-6840","relation":"self","url":"https://osv.dev/vulnerability/BIT-gitlab-2023-6840","license":"Apache-2.0","published_at":"2024-03-06T10:54:04.182Z","modified_at":"2026-09-08T08:47:43.319265Z","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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:H","source":"BIT-gitlab-2023-6840"}],"affected":[{"ecosystem":"Bitnami","package":"gitlab","purl":"pkg:bitnami/gitlab","ranges":[{"type":"SEMVER","events":[{"introduced":"16.4.0"},{"fixed":"16.6.7"},{"introduced":"16.7.0"},{"fixed":"16.7.5"},{"introduced":"16.8.0"},{"fixed":"16.8.2"}]}],"fixed":["16.6.7","16.7.5","16.8.2"],"provider":"osv","source":"BIT-gitlab-2023-6840","relation":"self"}],"product_status":[],"references":[{"type":"REPORT","url":"https://gitlab.com/gitlab-org/gitlab/-/issues/435500"},{"type":"ARTICLE","url":"https://hackerone.com/reports/2280292"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-6840"}]},{"provider":"osv","source_id":"UBUNTU-CVE-2023-6840","relation":"self","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2023-6840","license":"CC-BY-SA-4.0","published_at":"2024-02-07T22:15:00Z","modified_at":"2025-10-24T05:01:40Z","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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:H","source":"UBUNTU-CVE-2023-6840"},{"type":"Ubuntu","score":"medium","source":"UBUNTU-CVE-2023-6840"}],"affected":[{"ecosystem":"Ubuntu:16.04:LTS","package":"gitlab","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"],"provider":"osv","source":"UBUNTU-CVE-2023-6840","relation":"self"}],"product_status":[],"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"}]}],"references":[{"type":"WEB","url":"https://gitlab.com/gitlab-org/gitlab/-/issues/435500"},{"type":"EXPLOIT","url":"https://hackerone.com/reports/2280292"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-6840"},{"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://www.cve.org/CVERecord?id=CVE-2023-6840"}],"sources":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2024-0317","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2024-0317","license":"TLP:CLEAR, mirroring permitted","modified_at":"2024-02-07T23:00:00Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2023-6840","url":"https://www.cve.org/CVERecord?id=CVE-2023-6840","license":"CC-BY-4.0","modified_at":"2026-04-24T04:07:19.586Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2023-6840","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-6840","relation":"self"},{"provider":"osv","source_id":"BIT-gitlab-2023-6840","url":"https://osv.dev/vulnerability/BIT-gitlab-2023-6840","license":"Apache-2.0","modified_at":"2026-09-08T08:47:43.319265Z","relation":"self"},{"provider":"osv","source_id":"UBUNTU-CVE-2023-6840","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2023-6840","license":"CC-BY-SA-4.0","modified_at":"2025-10-24T05:01:40Z","relation":"self"}]}
