Patchfirst
CVE-2021-22204 KEVPublic exploit High · 7.8 EPSS >99.9%

ExifTool Remote Code Execution Vulnerability

Perl · Exiftool

Summary

The flaw is an improper neutralization of user data in ExifTool's handling of the DjVu file format, affecting the Perl-based Exiftool product from version 7.44 onward. An attacker who gets a victim to open or process a malicious DjVu image can achieve arbitrary code execution, and the attack requires local access and user interaction, with no authentication needed.

Official description · NVD

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

Breakdown
65.5 / 100
Exploited
Yes, in CISA KEV
Reports
0
Tactics
1/15

How an attack unfolds

Based on mappings. Select a step to see the evidence.
  1. What they do

First seen exploited 5 months after disclosure. Public exploit code (Metasploit) was available 9 days before disclosure.

  1. Public exploit codeMetasploit9 days before
  2. Disclosedday 0
  3. First seen exploitedVulnCheck KEV evidence+5 mo
  4. Added to CISA KEVEU database agrees+7 mo

CISA KEV listing is when exploitation was confirmed, not necessarily the first attack.

techniques

1 , grouped by in kill-chain order 1

ExecutionTA0002

Command and Scripting Interpreter T1059 Medium
MITRE CTID mapping of the KEV entry · primary impact

The vulnerability is exploited by a remote attacker to execute arbitrary code on the target system. The vulnerability exists due to improper input validation when parsing DjVu files in ExifTool. A remote attacker can pass a specially crafted file to the application and execute arbitrary code on the target system. Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Lower-confidence links (1)

These come from early or generic mappings, text matching, or contradict this CVE’s details (for example a public-facing technique on a bug that needs a user to open a file). Shown for completeness.

  • Exploit Public-Facing ApplicationT1190 needs user interaction; not a public-facing exploit

Detection

0 rules for this CVE · 95 general rules for its techniques

Rules for this CVE

0 that reference CVE-2021-22204 directly.

CVE-specific rules are not available in this build. Search SigmaHQ ↗

General rules for this CVE’s techniques

These detect the technique in general, not this specific vulnerability.

Sigma rules © SigmaHQ, Detection Rule License 1.1; linked, not reproduced.

What security researchers reported

Not named in any threat report yet

References

15 links, grouped by NVD tag (14 duplicates merged)
↑ ↓ chooseEnter openEsc close