CVE-2021-22230
4.9medium
Improper code rendering while rendering merge requests could be exploited to submit malicious code.
- Severity
- 4.9medium CVSS:3.1 by GitLab
- Exploit likelihood
- 1.03% (higher than 64% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitLab
- Also known as
- BIT-GITLAB-2021-22230
Description
Improper code rendering while rendering merge requests could be exploited to submit malicious code. This vulnerability affects GitLab CE/EE 9.3 and later through 13.11.6, 13.12.6, and 14.0.2.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| GitLab GitLab | >=9.3, <13.11.6, >=13.12, <13.12.6, >=14.0, <14.0.2, from 9.3.0 before 13.11.6, from 13.12.0 before 13.12.6, from 14.0.0 before 14.0.2 | CVE List, NVD |
| gitlab (Bitnami) | from 9.3.0 before 13.11.6, from 13.12.0 before 13.12.6, from 14.0.0 before 14.0.2 | Bitnami Vulnerability Database |
All scores
| GitLab | 4.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N |
| NVD | 7.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | 6.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
| Bitnami Vulnerability Database | high rating |
What each source says
CVE List
Improper code rendering while rendering merge requests could be exploited to submit malicious code. This vulnerability affects GitLab CE/EE 9.3 and later through 13.11.6, 13.12.6, and 14.0.2.
NVD (es)
Una renderización inapropiada del código al renderizar las peticiones de fusión podría ser explotada para enviar código malicioso. Esta vulnerabilidad afecta a GitLab CE/EE versiones 9.3 y posteriores hasta 13.11.6, 13.12.6 y 14.0.2
References
| https://gitlab.com/gitlab-org/gitlab/-/issues/211976 | broken-link, web | |
| https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22230.json | advisory, vendor-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-22230 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-22230 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-22230 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-GITLAB-2021-22230 changed 2026-09-08 | Apache-2.0 |