Actively exploited · Published Apr 23, 2021 · Assigned by GitLab

CVE-2021-22204

Medium 6.8 Exploited

In plain English

A medium-severity code injection in ExifTool from ExifTool. Attackers are actively exploiting it in the wild (listed by CISA on November 17, 2021). The chance it is exploited in the next 30 days is estimated at 100.0% (higher than 99.9% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit, public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.8Medium
Exploit odds (30 days)100.0%top 0.0% of all CVEs
Exploited in the wildYesCISA KEV since Nov 17, 2021
Attack tooling2Metasploit, Public PoC

CISA guidance

Apply updates per vendor instructions.

Federal agencies must remediate by Dec 1, 2021.

Official 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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20perl-image-exiftool12.24-r0ALPINE-CVE-2021-22204
Alpine:v3.21perl-image-exiftool12.24-r0ALPINE-CVE-2021-22204
Alpine:v3.22perl-image-exiftool12.24-r0ALPINE-CVE-2021-22204
Alpine:v3.23perl-image-exiftool12.24-r0ALPINE-CVE-2021-22204
Alpine:v3.24perl-image-exiftool12.24-r0ALPINE-CVE-2021-22204
Debian:12libimage-exiftool-perl12.16+dfsg-2DEBIAN-CVE-2021-22204
Debian:13libimage-exiftool-perl12.16+dfsg-2DEBIAN-CVE-2021-22204
Debian:14libimage-exiftool-perl12.16+dfsg-2DEBIAN-CVE-2021-22204

Affected products (as reported)

VendorProductVersions
ExifTool ExifTool >=7.44, <12.24

Weakness: CWE-94 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L

References