CVE-2021-39889 json
In all versions of GitLab EE since version 14.1, due to an insecure direct object reference vulnerability, an endpoint may reveal the prote…
published 5y ago modified 2mo ago also BIT-gitlab-2021-39889 , EUVD-2021-26245
- cvss
- 4.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 57%
- public exploits
- 0
- none known
Summary
In all versions of GitLab EE since version 14.1, due to an insecure direct object reference vulnerability, an endpoint may reveal the protected branch name to a malicious user who makes a crafted API call with the ID of the protected branch.
Patch / fix
- bitnami gitlab 14.1.7, 14.2.5, 14.3.1
- gitlab gitlab 14.1.7, 14.2.5, 14.3.1
- gitlab gitlab_enterprise 14.1.7, 14.2.5, 14.3.1
Is CVE-2021-39889 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 FencerExploit prediction
0.83% chance of exploitation in the next 30 days, higher than 57% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | 2.0 | 4.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
| OSV | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | gitlab | >=14.1.0, <14.1.7 >=14.2.0, <14.2.5 >=14.3.0, <14.3.1 |
14.1.7 14.2.5 14.3.1 |
Affected products
- GitLab GitLab
Classification
- Weakness
-
- CWE-639 Authorization Bypass Through User-Controlled Key
- Technology feeds
References
-
gitlab.com
/gitlab-org/cves/-/blob/master/2021/CVE-2021-39889.json
vendor-advisory, advisory
-
gitlab.com
/gitlab-org/gitlab/-/issues/338062
broken-link, web
-
hackerone.com
/reports/1294017
permissions-required, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-39889
web
Sources
- CVE List CVE-2021-39889
- NVD CVE-2021-39889
- OSV BIT-gitlab-2021-39889
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.