CVE-2021-22257Gitlab
Medium 5.3 No auth needed
Follow: this CVE · Gitlab · Gitlab We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Gitlab.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gitlab | gitlab | ≥ 14.0.0 < 14.0.9 |
| gitlab | gitlab | ≥ 14.0.0 < 14.0.9 |
| gitlab | gitlab | ≥ 14.1.0 < 14.1.4 |
| gitlab | gitlab | ≥ 14.1.0 < 14.1.4 |
| gitlab | gitlab | ≥ 14.2.0 < 14.2.2 |
| gitlab | gitlab | ≥ 14.2.0 < 14.2.2 |
Official sources
References
Links published by the sources. Open them with care.
- gitlab.com Vendor Advisory
- gitlab.com Broken Link