CVE-2021-22254 json
Under very specific conditions a user could be impersonated using Gitlab shell.
published 2021-08-20 5 y ago modified 2026-09-08 2 mo ago also BIT-gitlab-2021-22254 , EUVD-2021-9400
- cvss
- 3.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 59%
- public exploits
- 0
- none known
Summary
Under very specific conditions a user could be impersonated using Gitlab shell. This vulnerability affects GitLab CE/EE 13.1 and later through 14.1.2, 14.0.7 and 13.12.9.
Patch / fix
- bitnami gitlab 13.12.9, 14.0.7, 14.1.2
- gitlab gitlab 13.12.9, 14.0.7, 14.1.2
- gitlab gitlab_enterprise 13.12.9, 14.0.7, 14.1.2
Exploit prediction
0.87% chance of exploitation in the next 30 days, higher than 59% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | 2.0 | 3.5 | AV:N/AC:M/Au:S/C:P/I:N/A:N |
| OSV | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | gitlab | >=13.1.0, <13.12.9 >=14.0.0, <14.0.7 >=14.1.0, <14.1.2 |
13.12.9 14.0.7 14.1.2 |
Affected products
- GitLab GitLab
Classification
- Weakness
-
- CWE-116 Improper Encoding or Escaping of Output
- Technology feeds
References
-
gitlab.com
/gitlab-org/cves/-/blob/master/2021/CVE-2021-22254.json
vendor-advisory, advisory
-
gitlab.com
/gitlab-org/gitlab/-/issues/300265
broken-link, web
-
hackerone.com
/reports/1087806
permissions-required, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-22254
web
Sources
- CVE List CVE-2021-22254
- NVD CVE-2021-22254
- OSV BIT-gitlab-2021-22254
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Enhance with deb and rpm package type records.