CVE-2021-39891
5.9medium
In all versions of GitLab CE/EE since version 8.0, access tokens created as part of admin's impersonation of a user are not cleared at the…
- Severity
- 5.9medium CVSS:3.1 by GitLab
- Exploit likelihood
- 1.00% (higher than 63% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitLab
- Also known as
- BIT-GITLAB-2021-39891
Description
In all versions of GitLab CE/EE since version 8.0, access tokens created as part of admin's impersonation of a user are not cleared at the end of impersonation which may lead to unnecessary sensitive info disclosure.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| GitLab GitLab | >=8.0, <14.1.7, >=14.2, <14.2.5, >=14.3, <14.3.1, from 8.0.0 before 14.1.7, from 14.2.0 before 14.2.5, from 14.3.0 before 14.3.1 | CVE List, NVD |
| gitlab (Bitnami) | from 8.0.0 before 14.1.7, from 14.2.0 before 14.2.5, from 14.3.0 before 14.3.1 | Bitnami Vulnerability Database |
All scores
| GitLab | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N |
| NVD | 4.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/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 |
Classification
What each source says
CVE List
In all versions of GitLab CE/EE since version 8.0, access tokens created as part of admin's impersonation of a user are not cleared at the end of impersonation which may lead to unnecessary sensitive info disclosure.
NVD (es)
En todas las versiones de GitLab CE/EE desde la versión 8.0, los tokens de acceso creados como parte de la suplantación de un usuario por parte del administrador no se borran al final de la suplantación, lo que puede conllevar a una divulgación innecesaria de información confidencial
References
| https://gitlab.com/gitlab-org/gitlab/-/issues/335137 | broken-link, web | |
| https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39891.json | advisory, vendor-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-39891 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-39891 changed 2024-08-04 | CVE Terms of Use |
| NVD | CVE-2021-39891 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-GITLAB-2021-39891 changed 2026-09-10 | Apache-2.0 |