CVE-2023-6840

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-6840
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-6840.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-6840
Aliases
Downstream
Published
2024-02-07T22:02:20.934Z
Modified
2025-12-05T04:00:23.339904Z
Severity
  • 6.7 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:H CVSS Calculator
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.

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

Affected packages

Git / gitlab.com/gitlab-org/gitlab

Affected ranges

Type
GIT
Repo
https://gitlab.com/gitlab-org/gitlab
Events
Database specific
{
    "versions": [
        {
            "introduced": "16.4"
        },
        {
            "fixed": "16.6.7"
        }
    ]
}
Type
GIT
Repo
https://gitlab.com/gitlab-org/gitlab
Events
Database specific
{
    "versions": [
        {
            "introduced": "16.7"
        },
        {
            "fixed": "16.7.5"
        }
    ]
}
Type
GIT
Repo
https://gitlab.com/gitlab-org/gitlab
Events
Database specific
{
    "versions": [
        {
            "introduced": "16.8"
        },
        {
            "fixed": "16.8.2"
        }
    ]
}

Affected versions

v16.*

v16.7.0-ee
v16.7.2-ee
v16.7.3-ee
v16.7.4-ee
v16.8.0-ee
v16.8.1-ee