CVE-2021-22257
Last modified
CVE-2021-22257 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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. EPSS estimates a 0.91% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gitlab | Gitlab | >= 14.0.0, < 14.0.9 |
| Gitlab | Gitlab | >= 14.1.0, < 14.1.4 |
| Gitlab | Gitlab | >= 14.2.0, < 14.2.2 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-22257?
How severe is CVE-2021-22257?
How do I fix CVE-2021-22257?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-22251Improper validation of invited users' email address in GitLa…4.3
- CVE-2021-22252A confusion between tag and branch names in GitLab CE/EE aff…6.5
- CVE-2021-22253Improper authorization in GitLab EE affecting all versions s…5.4
- CVE-2021-22254Under very specific conditions a user could be impersonated …4.3
- CVE-2021-22255SSRF in URL file upload in Baserow <1.1.0 allows remote auth…6.5
- CVE-2021-22256Improper authorization in GitLab CE/EE affecting all version…5.4
- CVE-2021-22258The project import/export feature in GitLab 8.9 and greater …4.3
- CVE-2021-22259A potential DOS vulnerability was discovered in GitLab EE st…6.5
- CVE-2021-2226Vulnerability in the MySQL Server product of Oracle MySQL (c…4.9
- CVE-2021-22260A stored Cross-Site Scripting vulnerability in the DataDog i…5.4
- CVE-2021-22261A stored Cross-Site Scripting vulnerability in the Jira inte…4.8
- CVE-2021-22262Missing access control in all GitLab versions starting from …4.3
Are you affected by CVE-2021-22257?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
