Medium severity5.3NVD Advisory· Published Oct 5, 2021· Updated Jun 17, 2026
CVE-2021-22257
CVE-2021-22257
Description
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.
Affected products
5from 14.0 before 14.0.9, from 14.1 before 14.1.4, from 14.2 before 14.2.2+ 3 more
- (no CPE)range: from 14.0 before 14.0.9, from 14.1 before 14.1.4, from 14.2 before 14.2.2
- cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*range: >=14.0.0,<14.0.9
- cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*range: >=14.0.0,<14.0.9
- (no CPE)range: >=14.0, <14.0.9
Patches
Vulnerability mechanics
References
2- gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22257.jsonnvdVendor Advisory
- gitlab.com/gitlab-org/gitlab/-/issues/23832nvdBroken Link
News mentions
0No linked articles in our index yet.