CVE-2023-6840 json
Missing Authorization in GitLab
published 2y ago modified 2mo ago also BIT-gitlab-2023-6840 , EUVD-2023-59045
- cvss
- 6.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 47%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bitnami gitlab 16.6.7, 16.7.5, 16.8.2
- GitLab GitLab 16.6.7, 16.7.5, 16.8.2
Is CVE-2023-6840 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
0.56% chance of exploitation in the next 30 days, higher than 47% of all scored CVEs (FIRST EPSS, 2026-11-14).
Exploits and checks
- hackerone.com https://hackerone.com/reports/2280292 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.7 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:H |
| NVD | 3.1 | 6.7 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:H |
| OSV | 3.1 | 6.7 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | gitlab | >=16.4.0, <16.6.7 >=16.7.0, <16.7.5 >=16.8.0, <16.8.2 |
16.6.7 16.7.5 16.8.2 |
Affected products
- GitLab GitLab
Classification
- Weakness
-
- CWE-862 Missing Authorization
- Technology feeds
References
-
hackerone.com
/reports/2280292
technical-description, exploit, permissions-required, article
-
gitlab.com
/gitlab-org/gitlab/-/issues/435500
issue-tracking, permissions-required, report
-
nvd.nist.gov
/vuln/detail/CVE-2023-6840
web
Sources
- CVE List CVE-2023-6840
- NVD CVE-2023-6840
- OSV BIT-gitlab-2023-6840
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Enhance with deb and rpm package type records.