{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-22205","id":"CVE-2021-22205","title":"GitLab CE/EE affecting all versions starting from 11.9: GitLab was not properly validating image files that were pass…","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.","descriptionLong":"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.","published":"2021-04-23T17:39:36.000Z","updated":"2026-10-30T10:30:38.506332981Z","reserved":"2021-01-05T00:00:00.000Z","status":"Analyzed","rejected":false,"assigner":"GitLab","metric":{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"GitLab"},"metrics":[{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"GitLab"},{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"gitlab.com"},{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"critical","products":["GitLab"],"affectedProducts":[{"vendor":"GitLab","product":"GitLab","defaultStatus":null,"versions":[{"status":"affected","version":">=11.9, <13.8.8"},{"status":"affected","version":">=13.9, <13.9.6"},{"status":"affected","version":">=13.10, <13.10.3"}],"platforms":[]}],"packages":[],"cwes":["CWE-94"],"aliases":["BIT-gitlab-2021-22205"],"references":[{"url":"https://hackerone.com/reports/1154542","tags":["x_refsource_MISC","x_transferred","Permissions Required","Third Party Advisory","report"]},{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/327121","tags":["x_refsource_MISC","x_transferred","Broken Link","report"]},{"url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22205.json","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory"]},{"url":"http://packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence"]},{"url":"http://packetstormsecurity.com/files/164994/GitLab-13.10.2-Remote-Code-Execution.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-22205","tags":["government-resource","US Government Resource","web"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":true,"kevAdded":"2021-11-03","kevDue":"2021-11-17","kevEntry":{"cveID":"CVE-2021-22205","vendorProject":"GitLab","product":"Community and Enterprise Editions","vulnerabilityName":"GitLab Community and Enterprise Editions Remote Code Execution Vulnerability","dateAdded":"2021-11-03","shortDescription":"GitHub Community and Enterprise Editions that utilize the ability to upload images through GitLab Workhorse are vulnerable to remote code execution. Workhorse passes image file extensions through ExifTool, which improperly validates the image files.","requiredAction":"Apply updates per vendor instructions.","dueDate":"2021-11-17","knownRansomwareCampaignUse":"Known","notes":"https://nvd.nist.gov/vuln/detail/CVE-2021-22205","cwes":["CWE-20","CWE-95"]},"ssvc":{"exploitation":"active","automatable":"yes","technicalImpact":"total"},"epss":0.99731,"epssPercentile":0.99953,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-22205","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22205","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-22205","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"added 2021-11-03"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-22205","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["gitlab"],"critical":["Exploited in the wild (CISA KEV)","CVSS 10.0 in a widely used technology","EPSS 100% with CVSS 10.0"],"attention":null}