CVE-2021-22204

medium KEV
Published 2021-11-17 ยท Modified 2021-11-17
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
8.0

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

CISA KEV

Vendor
Perl
Product
Exiftool
Due date
2021-12-01

Predictions

Exploit likelihood
99%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Exploit-DB

EDB-50911 local linux
UNICORD ยท 2022-05-11

ExifTool 12.23 - Arbitrary Code Execution

Source code queued for fetch โ€” refresh in a moment.

Metasploit modules

GitLab Unauthenticated Remote ExifTool Command Injection
Source fetch failed: fetch_error โ€” view the original via the link above.
ExifTool DjVu ANT Perl injection
Source fetch failed: fetch_error โ€” view the original via the link above.

OS impact

arch Arch Fixed 1 release
VersionStatusFixed in
โ€” Fixed 12.25-1
debian Debian Fixed 5 releases
VersionStatusFixed in
trixie Fixed 12.16+dfsg-2
sid Fixed 12.16+dfsg-2
forky Fixed 12.16+dfsg-2
bullseye Fixed 12.16+dfsg-2
bookworm Fixed 12.16+dfsg-2

References

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.