{
  "id": "CVE-2021-22204",
  "url": "https://poc.griffinguard.io/cve/CVE-2021-22204",
  "published_at": "2021-04-23T17:22:15Z",
  "title": "ExifTool Remote Code Execution Vulnerability",
  "vendor": "ExifTool",
  "product": "ExifTool",
  "cvss": {
    "score": 6.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L"
  },
  "kev": {
    "in_kev": true,
    "added_at": "2021-11-17",
    "known_ransomware_campaign_use": "Unknown",
    "days_after_publication": 208
  },
  "first_poc": {
    "created_at": "2021-05-11T02:02:12Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 17.4,
    "source": "metasploit",
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/fileformat/exiftool_djvu_ant_perl_injection.rb"
  },
  "poc_repo_count": 17,
  "exploit_count": 3,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Improper neutralization of user data in the DjVu file format in ExifTool versions 7.44 and up allows arbitrary code execution when parsing the malicious image",
  "cwe": "CWE-94",
  "cvss_by_source": {
    "cna": 6.8
  },
  "repos": [
    {
      "repo": "sameep0/CVE-2021-22204",
      "url": "https://github.com/sameep0/CVE-2021-22204",
      "created_at": null,
      "first_seen_at": "2026-11-14T23:12:49.679Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped"
    },
    {
      "repo": "szTheory/exifcleaner",
      "url": "https://github.com/szTheory/exifcleaner",
      "created_at": "2019-12-05T05:08:18Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 2895,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2008-10-12T19:46:21Z"
    },
    {
      "repo": "convisolabs/CVE-2021-22204-exiftool",
      "url": "https://github.com/convisolabs/CVE-2021-22204-exiftool",
      "created_at": "2021-05-11T18:45:07Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 96,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 30,
      "suspicious": false,
      "suspicion_reasons": [
        "owner account created less than 7 days before the repo"
      ],
      "status": "analyzed",
      "owner_created_at": "2021-10-13T17:47:52Z"
    },
    {
      "repo": "se162xg/CVE-2021-22204",
      "url": "https://github.com/se162xg/CVE-2021-22204",
      "created_at": "2021-05-12T08:51:44Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 12,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-04-30T07:54:28Z"
    },
    {
      "repo": "bilkoh/POC-CVE-2021-22204",
      "url": "https://github.com/bilkoh/POC-CVE-2021-22204",
      "created_at": "2021-05-21T00:14:52Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 8,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2018-09-13T04:05:38Z"
    },
    {
      "repo": "CsEnox/Gitlab-Exiftool-RCE",
      "url": "https://github.com/CsEnox/Gitlab-Exiftool-RCE",
      "created_at": "2021-06-04T02:36:06Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 61,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-01-22T06:03:46Z"
    },
    {
      "repo": "mr-r3bot/Gitlab-CVE-2021-22205",
      "url": "https://github.com/mr-r3bot/Gitlab-CVE-2021-22205",
      "created_at": "2021-06-05T15:42:16Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 180,
      "is_poc": "no",
      "kind": "unrelated",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2018-03-12T01:45:19Z"
    },
    {
      "repo": "PenTestical/CVE-2021-22204",
      "url": "https://github.com/PenTestical/CVE-2021-22204",
      "created_at": "2021-08-02T09:11:27Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 3,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-10-31T03:33:37Z"
    },
    {
      "repo": "AssassinUKG/CVE-2021-22204",
      "url": "https://github.com/AssassinUKG/CVE-2021-22204",
      "created_at": "2021-08-02T18:56:16Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 28,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2013-08-22T09:46:58Z"
    },
    {
      "repo": "ph-arm/CVE-2021-22204-Gitlab",
      "url": "https://github.com/ph-arm/CVE-2021-22204-Gitlab",
      "created_at": "2021-11-04T14:31:02Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 2,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2018-01-10T10:47:45Z"
    },
    {
      "repo": "oneoy/Gitlab-Exiftool-RCE",
      "url": "https://github.com/oneoy/Gitlab-Exiftool-RCE",
      "created_at": "2021-11-05T17:20:16Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2018-04-16T16:16:15Z"
    },
    {
      "repo": "pizza-power/Golang-CVE-2021-22205-POC",
      "url": "https://github.com/pizza-power/Golang-CVE-2021-22205-POC",
      "created_at": "2021-11-25T12:47:27Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 3,
      "is_poc": "no",
      "kind": "unrelated",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2013-12-08T14:05:35Z"
    },
    {
      "repo": "Asaad27/CVE-2021-22204-RSE",
      "url": "https://github.com/Asaad27/CVE-2021-22204-RSE",
      "created_at": "2021-12-06T21:53:55Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-08-19T19:53:46Z"
    },
    {
      "repo": "trganda/CVE-2021-22204",
      "url": "https://github.com/trganda/CVE-2021-22204",
      "created_at": "2021-12-29T13:41:35Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 3,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-03-15T11:21:53Z"
    },
    {
      "repo": "LazyTitan33/ExifTool-DjVu-exploit",
      "url": "https://github.com/LazyTitan33/ExifTool-DjVu-exploit",
      "created_at": "2022-01-23T10:14:31Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2021-03-04T18:03:18Z"
    },
    {
      "repo": "0xBruno/CVE-2021-22204",
      "url": "https://github.com/0xBruno/CVE-2021-22204",
      "created_at": "2022-01-30T03:11:56Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 2,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-01-08T13:56:41Z"
    },
    {
      "repo": "mr-tuhin/CVE-2021-22204-exiftool",
      "url": "https://github.com/mr-tuhin/CVE-2021-22204-exiftool",
      "created_at": "2022-02-21T11:07:19Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 9,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-07-31T12:11:28Z"
    },
    {
      "repo": "UNICORDev/exploit-CVE-2021-22204",
      "url": "https://github.com/UNICORDev/exploit-CVE-2021-22204",
      "created_at": "2022-04-16T22:49:47Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 55,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 15,
      "suspicious": false,
      "suspicion_reasons": [
        "owner account created less than 30 days before the repo"
      ],
      "status": "analyzed",
      "owner_created_at": "2022-04-08T18:15:07Z"
    },
    {
      "repo": "PolGs/htb-meta",
      "url": "https://github.com/PolGs/htb-meta",
      "created_at": "2022-06-01T18:16:07Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-05-19T20:29:10Z"
    },
    {
      "repo": "Akash7350/CVE-2021-22204",
      "url": "https://github.com/Akash7350/CVE-2021-22204",
      "created_at": "2023-05-14T03:43:28Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 5,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2022-05-03T05:32:00Z"
    },
    {
      "repo": "battleofthebots/dejavu",
      "url": "https://github.com/battleofthebots/dejavu",
      "created_at": "2023-07-25T13:52:01Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2023-01-11T14:34:01Z"
    },
    {
      "repo": "cc3305/CVE-2021-22204",
      "url": "https://github.com/cc3305/CVE-2021-22204",
      "created_at": "2024-06-07T21:57:22Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2022-04-18T19:10:11Z"
    },
    {
      "repo": "EternalDreamer01/RCE-exploit-Gitlab-13.9.1",
      "url": "https://github.com/EternalDreamer01/RCE-exploit-Gitlab-13.9.1",
      "created_at": "2024-06-22T19:28:08Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2018-09-10T17:30:13Z"
    },
    {
      "repo": "MikeCod/RCE-exploit-Gitlab-13.9.1",
      "url": "https://github.com/MikeCod/RCE-exploit-Gitlab-13.9.1",
      "created_at": "2024-06-22T19:28:08Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2018-09-10T17:30:13Z"
    },
    {
      "repo": "Roronoawjd/CVE-2021-22204",
      "url": "https://github.com/Roronoawjd/CVE-2021-22204",
      "created_at": "2025-10-27T15:59:51Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2022-05-12T07:35:49Z"
    },
    {
      "repo": "d4ytox/CVE-2021-22204",
      "url": "https://github.com/d4ytox/CVE-2021-22204",
      "created_at": "2026-06-13T11:14:25Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2025-03-19T17:56:26Z"
    },
    {
      "repo": "cyfrowesny/exiftool-7.44-12.23-exploit-CVE-2021-22204",
      "url": "https://github.com/cyfrowesny/exiftool-7.44-12.23-exploit-CVE-2021-22204",
      "created_at": "2026-10-16T12:49:47Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2026-02-01T17:34:43Z"
    },
    {
      "repo": "d4ytox/CVE-2021-22205",
      "url": "https://github.com/d4ytox/CVE-2021-22205",
      "created_at": "2026-11-10T17:56:49Z",
      "first_seen_at": "2026-11-15T04:19:49.928Z",
      "stars": 1,
      "is_poc": "no",
      "kind": "detection",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2025-03-19T17:56:26Z"
    }
  ],
  "remediation": null,
  "exploit_refs": [
    {
      "url": "https://www.exploit-db.com/exploits/50911",
      "source": "exploitdb",
      "title": "ExifTool 12.23 - Arbitrary Code Execution",
      "published_at": "2022-05-11T00:00:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/gitlab_exif_rce.rb",
      "source": "metasploit",
      "title": "Metasploit exploit: GitLab Unauthenticated Remote ExifTool Command Injection (exploit/multi/http/gitlab_exif_rce)",
      "published_at": "2021-11-02T08:46:51Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/fileformat/exiftool_djvu_ant_perl_injection.rb",
      "source": "metasploit",
      "title": "Metasploit exploit: ExifTool DjVu ANT Perl injection (exploit/unix/fileformat/exiftool_djvu_ant_perl_injection)",
      "published_at": "2021-05-11T02:02:12Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/users/sign_in",
      "protocol": "http",
      "repos": [
        "CsEnox/Gitlab-Exiftool-RCE",
        "oneoy/Gitlab-Exiftool-RCE",
        "ph-arm/CVE-2021-22204-Gitlab"
      ],
      "repo_count": 3,
      "confidence": 0.7,
      "evidence": [
        "CsEnox/Gitlab-Exiftool-RCE/exploit.py:23",
        "CsEnox/Gitlab-Exiftool-RCE/exploit.py:65",
        "oneoy/Gitlab-Exiftool-RCE/exploit.py:23",
        "oneoy/Gitlab-Exiftool-RCE/exploit.py:65",
        "ph-arm/CVE-2021-22204-Gitlab/exploit.py:23",
        "ph-arm/CVE-2021-22204-Gitlab/exploit.py:67"
      ]
    },
    {
      "method": "POST",
      "path_template": "/uploads/user",
      "headers": [
        {
          "name": "Accept",
          "value": "application/json"
        },
        {
          "name": "Accept-Language",
          "value": "en-US,en;q=0.5"
        },
        {
          "name": "Referer",
          "value": "{var}/projects"
        },
        {
          "name": "Upgrade-Insecure-Requests",
          "value": "1"
        },
        {
          "name": "X-Csrf-Token",
          "value": "{var}"
        },
        {
          "name": "X-Requested-With",
          "value": "XMLHttpRequest"
        }
      ],
      "body_markers": [
        "name=\"file\""
      ],
      "content_type": "multipart/form-data",
      "user_agents": [
        "Mozilla/5.0 (Windows; U; MSIE 9.0; Windows NT 9.0; en-US);"
      ],
      "protocol": "http",
      "repos": [
        "CsEnox/Gitlab-Exiftool-RCE",
        "oneoy/Gitlab-Exiftool-RCE",
        "ph-arm/CVE-2021-22204-Gitlab"
      ],
      "repo_count": 3,
      "confidence": 0.7,
      "evidence": [
        "CsEnox/Gitlab-Exiftool-RCE/exploit.py:84",
        "oneoy/Gitlab-Exiftool-RCE/exploit.py:84",
        "ph-arm/CVE-2021-22204-Gitlab/exploit.py:93"
      ]
    },
    {
      "method": "POST",
      "path_template": "/users/sign_in",
      "body_markers": [
        "authenticity_token=",
        "user[login]=",
        "user[password]=",
        "user[remember_me]=0"
      ],
      "content_type": "application/x-www-form-urlencoded",
      "protocol": "http",
      "repos": [
        "CsEnox/Gitlab-Exiftool-RCE",
        "oneoy/Gitlab-Exiftool-RCE",
        "ph-arm/CVE-2021-22204-Gitlab"
      ],
      "repo_count": 3,
      "confidence": 0.7,
      "evidence": [
        "CsEnox/Gitlab-Exiftool-RCE/exploit.py:33",
        "oneoy/Gitlab-Exiftool-RCE/exploit.py:33",
        "ph-arm/CVE-2021-22204-Gitlab/exploit.py:33"
      ]
    }
  ],
  "rules": []
}
