{"id":"UBUNTU-CVE-2021-22205","details":"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.","modified":"2025-10-24T04:50:07Z","published":"2021-04-23T18:15:00Z","upstream":["CVE-2021-22205"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-22205"},{"type":"REPORT","url":"https://hackerone.com/reports/1154542"},{"type":"REPORT","url":"https://gitlab.com/gitlab-org/gitlab/-/issues/327121"},{"type":"REPORT","url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22205.json"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-22205"},{"type":"REPORT","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog"}],"affected":[{"package":{"name":"gitlab","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/gitlab@8.5.8+dfsg-5?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.4.3+dfsg-9","8.4.3+dfsg-12","8.5.8+dfsg-5"],"ecosystem_specific":{"binaries":[{"binary_name":"gitlab","binary_version":"8.5.8+dfsg-5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-22205.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}