CVE-2021-22205

critical

Description

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.

References

https://hackerone.com/reports/1154542

https://gitlab.com/gitlab-org/gitlab/-/issues/327121

https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22205.json

http://packetstormsecurity.com/files/164994/GitLab-13.10.2-Remote-Code-Execution.html

http://packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.html

Details

Source: MITRE

Published: 2021-04-23

Updated: 2022-07-12

Type: CWE-94

Risk Information

CVSS v2

Base Score: 7.5

Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P

Impact Score: 6.4

Exploitability Score: 10

Severity: HIGH

CVSS v3

Base Score: 10

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Impact Score: 6

Exploitability Score: 3.9

Severity: CRITICAL