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
Published 2021-04-23 18:15:08
Updated 2024-07-24 17:07:59
Source GitLab Inc.
View at NVD,   CVE.org

Products affected by CVE-2021-22204

CVE-2021-22204 is in the CISA Known Exploited Vulnerabilities Catalog

CISA vulnerability name:
ExifTool Remote Code Execution Vulnerability
CISA required action:
Apply updates per vendor instructions.
CISA 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
Notes:
https://nvd.nist.gov/vuln/detail/CVE-2021-22204
Added on 2021-11-17 Action due date 2021-12-01

Exploit prediction scoring system (EPSS) score for CVE-2021-22204

96.67%
Probability of exploitation activity in the next 30 days EPSS Score History
~ 100 %
Percentile, the proportion of vulnerabilities that are scored at or less

Metasploit modules for CVE-2021-22204

  • GitLab Unauthenticated Remote ExifTool Command Injection
    Disclosure Date: 2021-04-14
    First seen: 2022-12-23
    exploit/multi/http/gitlab_exif_rce
    This module exploits an unauthenticated file upload and command injection vulnerability in GitLab Community Edition (CE) and Enterprise Edition (EE). The patched versions are 13.10.3, 13.9.6, and 13.8.8. Exploitation will result in command executio
  • ExifTool DjVu ANT Perl injection
    Disclosure Date: 2021-05-24
    First seen: 2021-05-12
    exploit/unix/fileformat/exiftool_djvu_ant_perl_injection
    This module exploits a Perl injection vulnerability in the DjVu ANT parsing code of ExifTool versions 7.44 through 12.23 inclusive. The injection is used to execute a shell command using Perl backticks. The DjVu image can be embedded in a wrapper image using

CVSS scores for CVE-2021-22204

Base Score Base Severity CVSS Vector Exploitability Score Impact Score Score Source First Seen
6.8
MEDIUM AV:N/AC:M/Au:N/C:P/I:P/A:P
8.6
6.4
NIST
6.8
MEDIUM CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
2.5
3.7
GitLab Inc.
7.8
HIGH CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1.8
5.9
NIST
7.8
HIGH CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
1.8
5.9
NIST 2024-07-24

CWE ids for CVE-2021-22204

References for CVE-2021-22204

Jump to
This web site uses cookies for managing your session, storing preferences, website analytics and additional purposes described in our privacy policy.
By using this web site you are agreeing to CVEdetails.com terms of use!