CVE-2021-22257
Reported by gitlab · Published October 5, 2021
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| gitlab | Bitnami | 14.2.2, 14.1.4, 14.0.9 |
| gitlab | gitlab | 14.2.2, 14.1.4, 14.0.9 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| GitLab | GitLab | >=14.0, <14.0.9, >=14.1, <14.1.4, >=14.2, <14.2.2 |
| GitLab | GitLab | 14.0, 14.1, 14.2 |
Timeline
- Jul 1, 2021 CVE Published
- Oct 5, 2021 PoC Published
- Oct 6, 2021 EPSS Score (30 in total, the first dated here)
- Nov 21, 2024 CVE Updated
- Jun 1, 2026 Security Advisory
- Aug 25, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-22257
vulnetix vdb fixes CVE-2021-22257
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-22257/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart