CVE-2021-22252
6.5medium
A confusion between tag and branch names in GitLab CE/EE affecting all versions since 13.7 allowed a Developer to access protected CI varia…
- Severity
- 6.5medium CVSS:3.1 by GitLab
- Exploit likelihood
- 1.13% (higher than 67% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitLab
- Also known as
- BIT-GITLAB-2021-22252
Description
A confusion between tag and branch names in GitLab CE/EE affecting all versions since 13.7 allowed a Developer to access protected CI variables which should only be accessible to Maintainers
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| GitLab GitLab | >=13.7, <13.12.9, >=14.0, <14.0.7, >=14.1, <14.1.2, from 13.7.0 before 13.12.9, from 14.0.0 before 14.0.7, from 14.1.0 before 14.1.2 | CVE List, NVD |
| gitlab (Bitnami) | from 13.7.0 before 13.12.9, from 14.0.0 before 14.0.7, from 14.1.0 before 14.1.2 | Bitnami Vulnerability Database |
All scores
| GitLab | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 4.0medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
| Bitnami Vulnerability Database | medium rating |
What each source says
CVE List
A confusion between tag and branch names in GitLab CE/EE affecting all versions since 13.7 allowed a Developer to access protected CI variables which should only be accessible to Maintainers
NVD (es)
Una confusión entre los nombres de las etiquetas y ramas en GitLab CE/EE, afectando a todas las versiones desde la 13.7, permitía a un desarrollador acceder a variables de CI protegidas que sólo deberían ser accesibles para los mantenedores.
References
| https://gitlab.com/gitlab-org/gitlab/-/issues/330364 | broken-link, web | |
| https://hackerone.com/reports/1186135 | advisory, third-party-advisory | |
| https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22252.json | advisory, vendor-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-22252 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-22252 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-22252 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-GITLAB-2021-22252 changed 2026-09-08 | Apache-2.0 |