Vulnerability database / CVE-2021-22257
CVE-2021-22257
MEDIUM 5.3 CVSS 3.1 An issue has been discovered in GitLab affecting all versions starting from 14.0 before 14.0.9, all versions starting from 14.1 before 14.1.4, all versions starting from 14.2 before 14.2.2. The route for /user.keys is not restricted on instances with public visibility disabled. This allows user enumeration on such instances.
Published 5 Oct 2021
Last modified 17 Jun 2026 Assigned by cve@gitlab.com NVD status Modified Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
cve@gitlab.com (Secondary)
CVSS 3.1
MEDIUM 5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NNVD
nvd@nist.gov (Primary)
CVSS 3.1
MEDIUM 5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NNVD
nvd@nist.gov (Primary)
CVSS 2.0
MEDIUM 5.0
AV:N/AC:L/Au:N/C:P/I:N/A:N
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
gitlab
gitlabcpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*
>= 14.0.0, < 14.0.9
14.0.9 NVD
gitlab
gitlabcpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*
>= 14.0.0, < 14.0.9
14.0.9 NVD
gitlab
gitlabcpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*
>= 14.1.0, < 14.1.4
14.1.4 NVD
gitlab
gitlabcpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*
>= 14.1.0, < 14.1.4
14.1.4 NVD
gitlab
gitlabcpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*
>= 14.2.0, < 14.2.2
14.2.2 NVD
gitlab
gitlabcpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*
>= 14.2.0, < 14.2.2
14.2.2
References
History
25 Nov 2026 20:33 UTC · NVD: first stored (published 5 Oct 2021)