Skip to content
Fencer Intel
medium 5.9

CVE-2021-39891 json

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…

published 5y ago modified last mo. also BIT-gitlab-2021-39891 , EUVD-2021-26247

cvss
5.9
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.0%
EPSS 1.0% chance of exploitation in 30 days, percentile 63%
public exploits
0
none known

Summary

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.

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
  • gitlab Arch Linux 14.3.1-1

arch linux advisories AVG-2431

Is CVE-2021-39891 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 Fencer

Exploit prediction

1.00% chance of exploitation in the next 30 days, higher than 63% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
CNA 3.1 5.9 CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N
NVD 3.1 4.9 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
NVD 2.0 4.0 AV:N/AC:L/Au:S/C:P/I:N/A:N
OSV 3.1 5.9 CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N

Affected packages

ecosystem package affected fixed in
bitnami gitlab
>=8.0.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-212 Improper Removal of Sensitive Information Before Storage or Transfer
Technology feeds

References

Sources

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.