All vulnerabilities

Servers and applications

CVE-2021-22257

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.

Severity
Medium 5.3
Published
5 Oct 2021
Last changed
17 Jun 2026
Added to UpHeron
21 Oct 2026
Fixed in
14.0.9, 14.1.4, 14.2.2
Sources
NVD

Affected software

SoftwareAffected versions
GitLabServers and applications · cpe:a:gitlab:gitlab
  • From 14.0.0 before 14.0.9
  • From 14.1.0 before 14.1.4
  • From 14.2.0 before 14.2.2

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2021-22257
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2021-22257