CVE-2021-22205

An issue has been discovered in GitLab CE/EE affecting all versions starting from 11.9. GitLab was not properly validating image files that were passed to a file parser which resulted in a remote command execution.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*
cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*
cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*
cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*
cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*
cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*

History

12 Jul 2022, 17:42

Type Values Removed Values Added
CWE CWE-20 CWE-94

30 Nov 2021, 21:38

Type Values Removed Values Added
CVSS v2 : 6.5
v3 : 9.9
v2 : 7.5
v3 : 10.0
References (MISC) http://packetstormsecurity.com/files/164994/GitLab-13.10.2-Remote-Code-Execution.html - (MISC) http://packetstormsecurity.com/files/164994/GitLab-13.10.2-Remote-Code-Execution.html - Exploit, Third Party Advisory, VDB Entry
References (MISC) http://packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.html - (MISC) http://packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.html - Exploit, Third Party Advisory, VDB Entry

17 Nov 2021, 17:15

Type Values Removed Values Added
References
  • (MISC) http://packetstormsecurity.com/files/164994/GitLab-13.10.2-Remote-Code-Execution.html -
  • (MISC) http://packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.html -

10 Nov 2021, 01:16

Type Values Removed Values Added
References
  • {'url': 'http://packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.html', 'name': 'http://packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.html', 'tags': [], 'refsource': 'MISC'}

04 Nov 2021, 22:15

Type Values Removed Values Added
References
  • (MISC) http://packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.html -

30 Apr 2021, 19:37

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : 6.5
v3 : 9.9
References (MISC) https://gitlab.com/gitlab-org/gitlab/-/issues/327121 - (MISC) https://gitlab.com/gitlab-org/gitlab/-/issues/327121 - Broken Link
References (CONFIRM) https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22205.json - (CONFIRM) https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22205.json - Vendor Advisory
References (MISC) https://hackerone.com/reports/1154542 - (MISC) https://hackerone.com/reports/1154542 - Permissions Required, Third Party Advisory
CPE cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*
cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*
CWE CWE-20

23 Apr 2021, 18:46

Type Values Removed Values Added
New CVE

Information

Published : 2021-04-23 18:15

Updated : 2023-12-10 13:55


NVD link : CVE-2021-22205

Mitre link : CVE-2021-22205

CVE.ORG link : CVE-2021-22205


JSON object : View

Products Affected

gitlab

  • gitlab
CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')