Live threats

All CVEs / Gitlab

CVE-2021-22257Gitlab

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
0.9%
probability of exploitation in 30 days · percentile 62
Auth required
No
Published
Oct 5, 2021
Updated
Jun 17, 2026
Category
Server · Cross-platform
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Gitlab.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
gitlabgitlab≥ 14.0.0 < 14.0.9
gitlabgitlab≥ 14.0.0 < 14.0.9
gitlabgitlab≥ 14.1.0 < 14.1.4
gitlabgitlab≥ 14.1.0 < 14.1.4
gitlabgitlab≥ 14.2.0 < 14.2.2
gitlabgitlab≥ 14.2.0 < 14.2.2

Official sources

References

Links published by the sources. Open them with care.