Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: 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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-22205
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 06:10 UTC · Revision 1

Source evidence

CVE-2021-22205

core-osv · Original source

Published 23 Apr 2021, 18:15 UTC

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.

osv:CVE-2021-22205
Complete source record
{
  "id": "3a4d32724a70c0cf5b159cf8cbf0b2714cff9106d3091f1026caca61576f4bcd",
  "url": "https://osv.dev/vulnerability/CVE-2021-22205",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-22205",
    "summary": "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.",
    "evidence": "osv:CVE-2021-22205",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2021-22205",
      "aliases": [
        "BIT-gitlab-2021-22205",
        "CVE-2021-22205"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://gitlab.com/gitlab-org/gitlab",
              "type": "GIT",
              "events": [
                {
                  "introduced": "2f3536bdda88ae962d4f67ced68af6efd82254f1"
                },
                {
                  "fixed": "5760c3c5919f911376a44fe16d674af2af898914"
                },
                {
                  "introduced": "a1a60e9f753f4e99f2b13b24028a6092a897cc06"
                },
                {
                  "fixed": "fa395d88d5232209aec5fd8010b5d9ee5f9f7dfe"
                },
                {
                  "introduced": "0d2d9558dba50b1496bf368954318d465825e8e3"
                },
                {
                  "fixed": "db2e358dba43b6ad3a35fde5b1e21a3635b1a19d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "11.9.0"
                      },
                      {
                        "fixed": "13.8.8"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "11.9.0"
                      },
                      {
                        "fixed": "13.8.8"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "13.9.0"
                      },
                      {
                        "fixed": "13.9.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "13.9.0"
                      },
                      {
                        "fixed": "13.9.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "13.10.0"
                      },
                      {
                        "fixed": "13.10.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "13.10.0"
                      },
                      {
                        "fixed": "13.10.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v13.10.2-ee",
            "v13.10.0-ee",
            "v13.9.3-ee",
            "v13.9.1-ee",
            "v13.9.0-ee"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-22205.json"
          }
        }
      ],
      "modified": "2026-10-30T10:30:38.506332981Z",
      "provider": "osv",
      "references": [
        "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-22205",
        "https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22205.json",
        "https://gitlab.com/gitlab-org/gitlab/-/issues/327121",
        "https://hackerone.com/reports/1154542"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-22205",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 433947,
  "published_at": "2021-04-23T18:15:08.167+00:00"
}