CVE-2021-22257
JSON

5.3medium

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…

Severity
5.3medium CVSS:3.1 by GitLab
Exploit likelihood
0.94% (higher than 61% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitLab
Also known as
BIT-GITLAB-2021-22257

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.

Affected

Product or packageVersionsReported by
GitLab GitLab>=14.0, <14.0.9, >=14.1, <14.1.4, >=14.2, <14.2.2, from 14.0.0 before 14.0.9, from 14.1.0 before 14.1.4, from 14.2.0 before 14.2.2CVE List, NVD
gitlab (Bitnami)from 14.0.0 before 14.0.9, from 14.1.0 before 14.1.4, from 14.2.0 before 14.2.2Bitnami Vulnerability Database

All scores

GitLab5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
NVD5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:P/I:N/A:N
Bitnami Vulnerability Databasemedium rating

What each source says

CVE List

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.

NVD (es)

Se ha detectado un problema en GitLab que afecta a todas las versiones a partir de la 14.0 anteriores a 14.0.9, todas las versiones a partir de la 14.1 anteriores a 14.1.4, todas las versiones a partir de la 14.2 anteriores a 14.2.2. La ruta para /user.keys no está restringida en las instancias con visibilidad pública deshabilitada. Esto permite una enumeración de usuarios en dichas instancias

References

Sources

SourceRecordLicence
CVE ListCVE-2021-22257 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-22257 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-GITLAB-2021-22257 changed 2026-09-08Apache-2.0